(taxonomy)_pre_add_form action-hook . WP 3.0.0
Fires before the Add Term form for all taxonomies.
The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
Usage
add_action( '(taxonomy)_pre_add_form', 'action_function_name_3722' ); function action_function_name_3722( $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)_pre_add_form
wp-admin/edit-tags.php 421
do_action( "{$taxonomy}_pre_add_form", $taxonomy );