<taxonomy>_term_new_form_tag
Fires inside the Add Tag form tag.
Description
do_action( '<taxonomy>_term_new_form_tag' );
The dynamic portion(s) of the hook name refer to the taxonomy slug.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( '{$taxonomy}_term_new_form_tag' );
- The following example is for adding a hook callback.
- // define the <taxonomy>_term_new_form_tag callback
- function action_taxonomy_term_new_form_tag( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( "{$taxonomy}_term_new_form_tag", 'action_taxonomy_term_new_form_tag', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( "{$taxonomy}_term_new_form_tag", 'action_taxonomy_term_new_form_tag', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /wp-admin/edit-tags.php
- do_action( "{$taxonomy}_term_new_form_tag" );