(taxonomy)_add_form_fields
Fires after the Add Term form fields.
The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
Possible hook names include:
Usage
add_action( '(taxonomy)_add_form_fields', 'wp_kama_taxonomy_add_form_fields_action' );
/**
* Function for `(taxonomy)_add_form_fields` action-hook.
*
* @param string $taxonomy The taxonomy slug.
*
* @return void
*/
function wp_kama_taxonomy_add_form_fields_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_fields
wp-admin/edit-tags.php 553
do_action( "{$taxonomy}_add_form_fields", $taxonomy );