edit_term_taxonomy action-hookWP 2.9.0

Fires immediate before a term-taxonomy relationship is updated.

Usage

add_action( 'edit_term_taxonomy', 'wp_kama_edit_term_taxonomy_action', 10, 2 );

/**
 * Function for `edit_term_taxonomy` action-hook.
 * 
 * @param int    $tt_id    Term taxonomy ID.
 * @param string $taxonomy Taxonomy slug.
 *
 * @return void
 */
function wp_kama_edit_term_taxonomy_action( $tt_id, $taxonomy ){

	// action...
}
$tt_id(int)
Term taxonomy ID.
$taxonomy(string)
Taxonomy slug.

Changelog

Since 2.9.0 Introduced.

Where the hook is called

wp_update_term()
edit_term_taxonomy
_update_post_term_count()
edit_term_taxonomy
_update_generic_term_count()
edit_term_taxonomy
wp-includes/taxonomy.php 3283
do_action( 'edit_term_taxonomy', $tt_id, $taxonomy );
wp-includes/taxonomy.php 4067
do_action( 'edit_term_taxonomy', $term, $taxonomy->name );
wp-includes/taxonomy.php 4094
do_action( 'edit_term_taxonomy', $term, $taxonomy->name );

Where the hook is used in WordPress

Usage not found.