edit_tag_form
Deprecated since 3.0.0. It is no longer supported and may be removed in future releases. See (taxonomy)_edit_form.
Fires at the end of the Edit Term form.
Usage
add_action( 'edit_tag_form', 'wp_kama_edit_tag_form_action', 10, 2 );
/**
* Function for `edit_tag_form` action-hook.
*
* @param WP_Term $tag Current taxonomy term object.
* @param $string
*
* @return void
*/
function wp_kama_edit_tag_form_action( $tag, $string ){
// action...
}
- $tag(WP_Term)
- Current taxonomy term object.
- $string
- -
Changelog
| Since 2.5.0 | Introduced. |
| Deprecated since 3.0.0 | Use {@see '{$taxonomy}_edit_form'} instead. |
Where the hook is called
In file: /wp-admin/edit-tag-form.php
edit_tag_form
wp-admin/edit-tag-form.php 279
do_action_deprecated( 'edit_tag_form', array( $tag ), '3.0.0', '{$taxonomy}_edit_form' );