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>
2724* @since 6.1.0 The `$args` parameter was added.2725*2726* @param int$term_id Term ID.2727* @param int$tt_id Term taxonomy ID.2728* @param array$args Arguments passed to wp_insert_term().2729*/2730do_action("created_{$taxonomy}",$term_id,$tt_id,$args);27312732/**2733* Fires after a term has been saved,and the term cache has been cleared.2734*2735* The {@see 'saved_$taxonomy'} hook is also available for targeting a specific2736* taxonomy.
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.