A WordPress-centric search engine for devs and theme authors



delete_{$taxonomy} ›

Since4.5.0
Deprecatedn/a
do_action( "delete_{$taxonomy}", $term, $tt_id, $deleted_term, $object_ids )
Parameters: (4)
  • (int) $term Term ID.
    Required: Yes
  • (int) $tt_id Term taxonomy ID.
    Required: Yes
  • (mixed) $deleted_term Copy of the already-deleted term, in the form specified by the parent function. WP_Error otherwise.
    Required: Yes
  • (array) $object_ids List of term object IDs.
    Required: Yes
Defined at:
Codex:

Fires after a term in a specific taxonomy is deleted.

The dynamic portion of the hook name, $taxonomy, refers to the specific taxonomy the term belonged to.





Source

do_action( "delete_{$taxonomy}", $term, $tt_id, $deleted_term, $object_ids );