Fires after a term in a specific taxonomy is deleted.
Description
The dynamic portion of the hook name, $taxonomy
, refers to the specific taxonomy the term belonged to.
Possible hook names include:
delete_category
delete_post_tag
Parameters
$term
int- Term ID.
$tt_id
int- Term taxonomy ID.
$deleted_term
WP_Term- Copy of the already-deleted term.
$object_ids
array- List of term object IDs.
Source
do_action( "delete_{$taxonomy}", $term, $tt_id, $deleted_term, $object_ids );
User Contributed Notes
You must log in before being able to contribute a note or feedback.