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



delete_{$taxonomy} › WordPress Action Hooks

Seit4.5.0
Veraltetn/v
do_action( "delete_{$taxonomy}", $term, $tt_id, $deleted_term, $object_ids )
Parameter: (4)
  • (int) $term Term ID.
    Erforderlich: Ja
  • (int) $tt_id Term taxonomy ID.
    Erforderlich: Ja
  • (WP_Term) $deleted_term Copy of the already-deleted term.
    Erforderlich: Ja
  • (array) $object_ids List of term object IDs.
    Erforderlich: Ja
Definiert in:
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.

Possible hook names include:

  • delete_category
  • delete_post_tag




Quellcode

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