WordPress at Your Fingertips
action is not described

create_(taxonomy) action-hook . WP 2.3.0

Fires after a new term is created for a specific taxonomy.

The dynamic portion of the hook name, $taxonomy, refers to the slug of the taxonomy the term was created for.

Possible hook names include:

  • create_category
  • create_post_tag


add_action( 'create_(taxonomy)', 'action_function_name_542', 10, 2 );
function action_function_name_542( $term_id, $tt_id ){
	// action...
Term ID.
Term taxonomy ID.

Where the hook is called

wp-includes/taxonomy.php 2538
do_action( "create_{$taxonomy}", $term_id, $tt_id );

Where in WP core the hook is used WordPress

Usage not found.