WordPress at a glance
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.

Usage

add_action( 'saved_term', 'action_function_name_5011', 10, 4 );
function action_function_name_5011( $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.

Список изменений

С версии 5.5.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WP

Использование не найдено.