W3cubDocs

/WordPress

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

Filters term data before it is inserted into the database.

Parameters

$data

(array) Term data to be inserted.

$taxonomy

(string) Taxonomy slug.

$args

(array) Arguments passed to wp_insert_term().

Source

File: wp-includes/taxonomy.php

View on Trac

Changelog

Version Description
4.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_insert_term_data