apply_filters( 'wp_update_term_data', array $data, int $term_id, string $taxonomy, array $args )

Filters term data before it is updated in the database.


Parameters

$data

Term data to be updated.

$term_id

Term ID.

$taxonomy

Taxonomy slug.

$args

Arguments passed to wp_update_term().


Source

File: wp-includes/taxonomy.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.7.0 Introduced.