Fires after a new term is created for a specific taxonomy.
Description
The dynamic portion of the hook name, $taxonomy, refers to the slug of the taxonomy the term was created for. Possible hook names include: <ul> <li>create_category</li> <li>create_post_tag</li> </ul>
2726* @since 6.1.0 The `$args` parameter was added.2727*2728* @param int$term_id Term ID.2729* @param int$tt_id Term taxonomy ID.2730* @param array$args Arguments passed to wp_insert_term().2731*/2732do_action("create_{$taxonomy}",$term_id,$tt_id,$args);27332734/**2735* Filters the term ID after a newterm is created.2736*2737* @since 2.3.02738* @since 6.1.0 The `$args` parameter was added.
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.