post_tag_add_form_fields
Fires after the Add Term form fields.
This is one of the variants of the dynamic hook (taxonomy)_add_form_fields
Usage
add_action( 'post_tag_add_form_fields', 'wp_kama_post_tag_add_form_fields_action' ); /** * Function for `post_tag_add_form_fields` action-hook. * * @param string $taxonomy The taxonomy slug. * * @return void */ function wp_kama_post_tag_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
post_tag_add_form_fields
wp-admin/edit-tags.php 549
do_action( "{$taxonomy}_add_form_fields", $taxonomy );