Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



delete_{$taxonomy} ›

Od4.5.0
Przestarzałyn/a
do_action( "delete_{$taxonomy}", $term, $tt_id, $deleted_term, $object_ids )
Parametry: (4)
  • (int) $term Term ID.
    Wymagane: Tak
  • (int) $tt_id Term taxonomy ID.
    Wymagane: Tak
  • (mixed) $deleted_term Copy of the already-deleted term, in the form specified by the parent function. WP_Error otherwise.
    Wymagane: Tak
  • (array) $object_ids List of term object IDs.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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