WordPress at a glance
action is not described

created_(taxonomy) action-hook . WP 2.3.0

Fires after a new term in a specific taxonomy is created, and after the term cache has been cleaned.

The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.

Usage

add_action( 'created_(taxonomy)', 'action_function_name_860', 10, 2 );
function action_function_name_860( $term_id, $tt_id ){
	// action...
}
$term_id(int)
Term ID.
$tt_id(int)
Term taxonomy ID.

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

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

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

wp_insert_term()
created_(taxonomy)
wp-includes/taxonomy.php 2465
do_action( "created_{$taxonomy}", $term_id, $tt_id );

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

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