Fires after a new term is created for a specific taxonomy.
The dynamic portion of the hook name, $taxonomy, refers to the slug of the taxonomy the term was created for.
Possible hook names include:
create_categorycreate_post_tag$term_idint
$tt_idint
$argsarray
alias_of stringdescription stringparent intslug stringdo_action( "create_{$taxonomy}", $term_id, $tt_id, $args );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/create_taxonomy