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.


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

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

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

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

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

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

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