edited_term_taxonomies
Fires immediately after a term to delete's children are reassigned a parent.
Использование
add_action( 'edited_term_taxonomies', 'wp_kama_edited_term_taxonomies_action' );
/**
* Function for `edited_term_taxonomies` action-hook.
*
* @param array $edit_tt_ids An array of term taxonomy IDs for the given term.
*
* @return void
*/
function wp_kama_edited_term_taxonomies_action( $edit_tt_ids ){
// action...
}
- $edit_tt_ids(массив)
- An array of term taxonomy IDs for the given term.
Список изменений
| С версии 2.9.0 | Введена. |
Где вызывается хук
edited_term_taxonomies
wp-includes/taxonomy.php 2123
do_action( 'edited_term_taxonomies', $edit_tt_ids );