WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about delete_term

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/taxonomy.php do_action 2130 /**
* Fires after a term is deleted from the database and the cache is cleaned.
*
* The {@see 'delete_$taxonomy'} hook is also available for targeting a specific
* taxonomy.
*
* @since 2.5.0
* @since 4.5.0 Introduced the `$object_ids` argument.
*
* @param int $term Term ID.
* @param int $tt_id Term taxonomy ID.
* @param string $taxonomy Taxonomy slug.
* @param WP_Term $deleted_term Copy of the already-deleted term.
* @param array $object_ids List of term object IDs.
*/

Hook Parameters

Parameter Type Name Description
int $tt_id Term taxonomy ID.