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>
2741* @since 6.1.0 The `$args` parameter was added.2742*2743* @param int$term_id Term ID.2744* @param int$tt_id Term taxonomy ID.2745* @param array$args Arguments passed to wp_insert_term().2746*/2747do_action("created_{$taxonomy}",$term_id,$tt_id,$args);27482749/**2750* Fires after a term has been saved,and the term cache has been cleared.2751*2752* The {@see 'saved_$taxonomy'} hook is also available for targeting a specific2753* taxonomy.
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.