Action hook 'edited_term'

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

Description

Fires after a term has been updated, and the term cache has been cleaned. The {@see 'edited_$taxonomy'} hook is also available for targeting a specific taxonomy.

Occurrences

Filename Line Number
wp-includes/taxonomy.php 3451

Parameters

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

PHP Doc

/**
	 * Fires after a term has been updated, and the term cache has been cleaned.
	 *
	 * The {@see 'edited_$taxonomy'} hook is also available for targeting a specific
	 * taxonomy.
	 *
	 * @since 2.3.0
	 * @since 6.1.0 The `$args` parameter was added.
	 *
	 * @param int    $term_id  Term ID.
	 * @param int    $tt_id    Term taxonomy ID.
	 * @param string $taxonomy Taxonomy slug.
	 * @param array  $args     Arguments passed to wp_update_term().
	 */