add_tag_form
Fires at the end of the Add Tag form.
Description
Parameters (1)
- 0. $taxonomy (string)
- The taxonomy slug.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'add_tag_form', $taxonomy );
- The following example is for adding a hook callback.
- // define the add_tag_form callback
- function action_add_tag_form( $taxonomy ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'add_tag_form', 'action_add_tag_form', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'add_tag_form', 'action_add_tag_form', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /wp-admin/edit-tags.php
- do_action( 'add_tag_form', $taxonomy );