WordPress at Your Fingertips
action is not described

saved_term action-hook . WP 5.5.0

Fires after a term has been saved, and the term cache has been cleared.

The saved_(taxonomy) hook is also available for targeting a specific taxonomy.

Usage

add_action( 'saved_term', 'action_function_name_7757', 10, 4 );
function action_function_name_7757( $term_id, $tt_id, $taxonomy, $update ){
	// action...
}
$term_id(int)
Term ID.
$tt_id(int)
Term taxonomy ID.
$taxonomy(string)
Taxonomy slug.
$update(true|false)
Whether this is an existing term being updated.

Changelog

Since 5.5.0 Introduced.

Where the hook is called

wp_insert_term()
saved_term
wp_update_term()
saved_term
wp-includes/taxonomy.php 2597
do_action( 'saved_term', $term_id, $tt_id, $taxonomy, false );
wp-includes/taxonomy.php 3305
do_action( 'saved_term', $term_id, $tt_id, $taxonomy, true );

Where in WP core the hook is used WordPress

Usage not found.