edited_term_taxonomy action-hookWP 2.9.0

Fires immediately after a term-taxonomy relationship is updated.

Usage

add_action( 'edited_term_taxonomy', 'wp_kama_edited_term_taxonomy_action', 10, 3 );

/**
 * Function for `edited_term_taxonomy` action-hook.
 * 
 * @param int    $tt_id    Term taxonomy ID.
 * @param string $taxonomy Taxonomy slug.
 * @param array  $args     Arguments passed to wp_update_term().
 *
 * @return void
 */
function wp_kama_edited_term_taxonomy_action( $tt_id, $taxonomy, $args ){

	// action...
}
$tt_id(int)
Term taxonomy ID.
$taxonomy(string)
Taxonomy slug.
$args(array)
Arguments passed to wp_update_term().

Changelog

Since 2.9.0 Introduced.
Since 6.1.0 The $args parameter was added.

Where the hook is called

wp_update_term()
edited_term_taxonomy
_update_post_term_count()
edited_term_taxonomy
_update_generic_term_count()
edited_term_taxonomy
wp-includes/taxonomy.php 3366
do_action( 'edited_term_taxonomy', $tt_id, $taxonomy, $args );
wp-includes/taxonomy.php 4151
do_action( 'edited_term_taxonomy', $term, $taxonomy->name );
wp-includes/taxonomy.php 4178
do_action( 'edited_term_taxonomy', $term, $taxonomy->name );

Where the hook is used in WordPress

Usage not found.