(taxonomy)_edit_form_fields action-hook . WP 3.0.0
Fires after the Edit Term form fields are displayed.
The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
Usage
add_action( '(taxonomy)_edit_form_fields', 'action_function_name_5783', 10, 2 ); function action_function_name_5783( $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)_edit_form_fields
wp-admin/edit-tag-form.php 237
do_action( "{$taxonomy}_edit_form_fields", $tag, $taxonomy );