Filter hook 'wp_update_term_data'

in WP Core File wp-includes/taxonomy.php at line 3348

Description

Filters term data before it is updated in the database.

Occurrences

Filename Line Number
wp-includes/taxonomy.php 3348

Parameters

Type Name Description
array $data Term data to be updated.
int $term_id Term ID.
string $taxonomy Taxonomy slug.
array $args Arguments passed to wp_update_term().

PHP Doc

/**
	 * Filters term data before it is updated in the database.
	 *
	 * @since 4.7.0
	 *
	 * @param array  $data     Term data to be updated.
	 * @param int    $term_id  Term ID.
	 * @param string $taxonomy Taxonomy slug.
	 * @param array  $args     Arguments passed to wp_update_term().
	 */