Fires after a new term in a specific taxonomy is created, and after the term cache has been cleaned.
Description
The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug. Possible hook names include: <ul> <li>created_category</li> <li>created_post_tag</li> </ul>
2776* @since 6.1.0 The `$args` parameter was added.2777*2778* @param int$term_id Term ID.2779* @param int$tt_id Term taxonomy ID.2780* @param array$args Arguments passed to wp_insert_term().2781*/2782do_action("created_{$taxonomy}",$term_id,$tt_id,$args);27832784/**2785* Fires after a term has been saved,and the term cache has been cleared.2786*2787* The {@see 'saved_$taxonomy'} hook is also available for targeting a specific2788* taxonomy.
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.