wp_insert_term_data

SummerySummery

Filters term data before it is inserted into the database.

Syntax

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

ParametersParameters

$data

(array) Term data to be inserted.

$taxonomy

(string) Taxonomy slug.

$args

(array) Arguments passed to wp_insert_term().

SourceSource

File: wp-includes/taxonomy.php

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top