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