WordPress at a glance
filter is not described

pre_insert_term filter-hook . WP 3.0.0

Filters a term before it is sanitized and inserted into the database.


add_filter( 'pre_insert_term', 'filter_function_name_370', 10, 2 );
function filter_function_name_370( $term, $taxonomy ){
	// filter...

	return $term;
The term to add or update.
Taxonomy slug.

Where the hook is called

wp-includes/taxonomy.php 2116
$term = apply_filters( 'pre_insert_term', $term, $taxonomy );

Where the hook is used (in WP core)

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