apply_filters( 'wp_insert_term_data', array $data, string $taxonomy, array $args )

Filters term data before it is inserted into the database.


Parameters

$data

Term data to be inserted.

$taxonomy

Taxonomy slug.

$args

Arguments passed to wp_insert_term().


Source

File: wp-includes/taxonomy.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.7.0 Introduced.