WordPress at a glance
filter is not described

wp_insert_term_data filter-hook . WP 4.7.0

Filters term data before it is inserted into the database.


add_filter( 'wp_insert_term_data', 'filter_function_name_9044', 10, 3 );
function filter_function_name_9044( $data, $taxonomy, $args ){
	// filter...

	return $data;
Term data to be inserted.
Taxonomy slug.
Arguments passed to wp_insert_term().

Where the hook is called

wp-includes/taxonomy.php 2251
$data = apply_filters( 'wp_insert_term_data', $data, $taxonomy, $args );

Where the hook is used (in WP core)

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