deleted_term_taxonomy action-hookWP 2.9.0

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

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

Where the hook is used in WordPress

Usage not found.