delete_term – action

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.

Parameters

.
( 2.5.0 ) . .
Introduced
( 4.5.0 ) the `$object_ids` argument. . . .
( int ) $term Term ID. . . .
( int ) $tt_id Term taxonomy ID. . . .
( string ) $taxonomy Taxonomy slug. . . .
$deleted_term
( WP_Term ) Copy of the already-deleted term. . . .
( array ) $object_ids List of term object IDs. . . .
API Letters: ,

Implementers