WordPress at a glance
filter is not described

term_id_filter filter-hook . WP 2.3.0

Filters the term ID after a new term is created.

Usage

add_filter( 'term_id_filter', 'filter_function_name_6378', 10, 2 );
function filter_function_name_6378( $term_id, $tt_id ){
	// filter...

	return $term_id;
}
$term_id(int)
Term ID.
$tt_id(int)
Term taxonomy ID.

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

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

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

wp_insert_term()
term_id_filter
wp_update_term()
term_id_filter
wp-includes/taxonomy.php 2439
$term_id = apply_filters( 'term_id_filter', $term_id, $tt_id );
wp-includes/taxonomy.php 3134
$term_id = apply_filters( 'term_id_filter', $term_id, $tt_id );

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

wp-includes/ms-default-filters.php 78
add_filter( 'term_id_filter', 'global_terms', 10, 2 );