edit_tag_form_fields
Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. See (taxonomy)_edit_form_fields.
Fires after the Edit Tag form fields are displayed.
Usage
add_action( 'edit_tag_form_fields', 'wp_kama_edit_tag_form_fields_action', 10, 2 ); /** * Function for `edit_tag_form_fields` action-hook. * * @param WP_Term $tag Current tag term object. * @param $string * * @return void */ function wp_kama_edit_tag_form_fields_action( $tag, $string ){ // action... }
- $tag(WP_Term)
- Current tag term object.
- $string
- -
Changelog
Since 2.9.0 | Introduced. |
Deprecated since 3.0.0 | Use {@see '{$taxonomy}_edit_form_fields'} instead. |
Where the hook is called
In file: /wp-admin/edit-tag-form.php
edit_tag_form_fields
wp-admin/edit-tag-form.php 236
do_action_deprecated( 'edit_tag_form_fields', array( $tag ), '3.0.0', '{$taxonomy}_edit_form_fields' );