(taxonomy)_add_form
Fires at the end of the Add Term form for all taxonomies.
The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
Possible hook names include:
Usage
add_action( '(taxonomy)_add_form', 'wp_kama_taxonomy_add_form_action' );
/**
* Function for `(taxonomy)_add_form` action-hook.
*
* @param string $taxonomy The taxonomy slug.
*
* @return void
*/
function wp_kama_taxonomy_add_form_action( $taxonomy ){
// action...
}
- $taxonomy(string)
- The taxonomy slug.
Changelog
| Since 3.0.0 | Introduced. |
Where the hook is called
In file: /wp-admin/edit-tags.php
(taxonomy)_add_form
wp-admin/edit-tags.php 606
do_action( "{$taxonomy}_add_form", $taxonomy );