delete_term_taxonomy action-hookWP 2.9.0

Fires immediately before a term taxonomy ID is deleted.

Usage

add_action( 'delete_term_taxonomy', 'wp_kama_delete_term_taxonomy_action' );

/**
 * Function for `delete_term_taxonomy` action-hook.
 * 
 * @param int $tt_id Term taxonomy ID.
 *
 * @return void
 */
function wp_kama_delete_term_taxonomy_action( $tt_id ){

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

Changelog

Since 2.9.0 Introduced.

Where the hook is called

wp_delete_term()
delete_term_taxonomy
wp-includes/taxonomy.php 2099
do_action( 'delete_term_taxonomy', $tt_id );

Where the hook is used in WordPress

Usage not found.