category_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( 'category_add_form_fields', 'wp_kama_category_add_form_fields_action' ); /** * Function for `category_add_form_fields` action-hook. * * @param string $taxonomy The taxonomy slug. * * @return void */ function wp_kama_category_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
category_add_form_fields
wp-admin/edit-tags.php 549
do_action( "{$taxonomy}_add_form_fields", $taxonomy );