(taxonomy)_pre_edit_form action-hook . WP 3.0.0
Fires before the Edit Term form for all taxonomies.
The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
Usage
add_action( '(taxonomy)_pre_edit_form', 'action_function_name_2502', 10, 2 ); function action_function_name_2502( $tag, $taxonomy ){ // action... }
- $tag(WP_Term)
- Current taxonomy term object.
- $taxonomy(string)
- Current $taxonomy slug.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
In file: /wp-admin/edit-tag-form.php
(taxonomy)_pre_edit_form
wp-admin/edit-tag-form.php 68
do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>