Uma área de pesquisa sobre o WordPress para devs e autores do tema



delete_term ›

Desde4.5.0
Obsoleton/a
do_action( 'delete_term', $term, $tt_id, $taxonomy, $deleted_term, $object_ids )
Parâmetros: (5)
  • (int) $term Term ID.
    Required: Yes
  • (int) $tt_id Term taxonomy ID.
    Required: Yes
  • (string) $taxonomy Taxonomy slug.
    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
Definido em:
Codex:

Fires after a term is deleted from the database and the cache is cleaned.





Fonte

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