add_tag_form
Deprecated since 3.0.0. It is no longer supported and may be removed in future releases. See (taxonomy)_add_form.
Fires at the end of the Add Tag form.
Usage
add_action( 'add_tag_form', 'wp_kama_add_tag_form_action', 10, 2 );
/**
* Function for `add_tag_form` action-hook.
*
* @param string $taxonomy The taxonomy slug.
* @param $string
*
* @return void
*/
function wp_kama_add_tag_form_action( $taxonomy, $string ){
// action...
}
- $taxonomy(string)
- The taxonomy slug.
- $string
- -
Changelog
| Since 2.7.0 | Introduced. |
| Deprecated since 3.0.0 | Use {@see '{$taxonomy}_add_form'} instead. |
Where the hook is called
In file: /wp-admin/edit-tags.php
add_tag_form
wp-admin/edit-tags.php 589
do_action_deprecated( 'add_tag_form', array( $taxonomy ), '3.0.0', '{$taxonomy}_add_form' );