WordPress at a glance
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.


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

Список изменений

С версии 2.3.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WordPress

Использование не найдено.