edit_term_taxonomies action-hookWP 2.9.0

Fires immediately before a term to delete's children are reassigned a parent.

Usage

add_action( 'edit_term_taxonomies', 'wp_kama_edit_term_taxonomies_action' );

/**
 * Function for `edit_term_taxonomies` action-hook.
 * 
 * @param array $edit_tt_ids An array of term taxonomy IDs for the given term.
 *
 * @return void
 */
function wp_kama_edit_term_taxonomies_action( $edit_tt_ids ){

	// action...
}
$edit_tt_ids(array)
An array of term taxonomy IDs for the given term.

Changelog

Since 2.9.0 Introduced.

Where the hook is called

wp_delete_term()
edit_term_taxonomies
wp-includes/taxonomy.php 2030
do_action( 'edit_term_taxonomies', $edit_tt_ids );

Where the hook is used in WordPress

Usage not found.