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



delete_term ›

Od4.5.0
Przestarzałyn/a
do_action( 'delete_term', $term, $tt_id, $taxonomy, $deleted_term, $object_ids )
Parametry: (5)
  • (int) $term Term ID.
    Wymagane: Tak
  • (int) $tt_id Term taxonomy ID.
    Wymagane: Tak
  • (string) $taxonomy Taxonomy slug.
    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 is deleted from the database and the cache is cleaned.





Źródło

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