add_tag_form_fields
Fires after the Add Tag form fields for non-hierarchical taxonomies.
Usage
add_action( 'add_tag_form_fields', 'wp_kama_add_tag_form_fields_action' );
/**
* Function for `add_tag_form_fields` action-hook.
*
* @param string $taxonomy The taxonomy slug.
*
* @return void
*/
function wp_kama_add_tag_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
add_tag_form_fields
wp-admin/edit-tags.php 536
do_action( 'add_tag_form_fields', $taxonomy );