wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



delete_term › WordPress Action Hooks

Seit4.5.0
Veraltetn/v
do_action( 'delete_term', $term, $tt_id, $taxonomy, $deleted_term, $object_ids )
Parameter: (5)
  • () term Term ID.
    Erforderlich: Ja
  • () tt_id Term taxonomy ID.
    Erforderlich: Ja
  • () taxonomy Taxonomy slug.
    Erforderlich: Ja
  • () deleted_term Copy of the already-deleted term.
    Erforderlich: Ja
  • () object_ids List of term object IDs.
    Erforderlich: Ja
Definiert in:
Codex:

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.




Quellcode

do_action( 'delete_term', $term, $tt_id, $taxonomy, $deleted_term, $object_ids );