deleted_term_taxonomy
Fires immediately after a term taxonomy ID is deleted.
Usage
add_action( 'deleted_term_taxonomy', 'wp_kama_deleted_term_taxonomy_action' );
/**
* Function for `deleted_term_taxonomy` action-hook.
*
* @param int $tt_id Term taxonomy ID.
*
* @return void
*/
function wp_kama_deleted_term_taxonomy_action( $tt_id ){
// action...
}
- $tt_id(int)
- Term taxonomy ID.
Changelog
| Since 2.9.0 | Introduced. |
Where the hook is called
deleted_term_taxonomy
wp-includes/taxonomy.php 2188
do_action( 'deleted_term_taxonomy', $tt_id );