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