edit_term_taxonomies
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
edit_term_taxonomies
wp-includes/taxonomy.php 2112
do_action( 'edit_term_taxonomies', $edit_tt_ids );