wpseek.com
A WordPress-centric search engine for devs and theme authors



pre_delete_term › WordPress Action Hooks

Since4.1.0
Deprecatedn/a
do_action( 'pre_delete_term', $term, $taxonomy )
Parameters: (2)
  • (int) $term Term ID.
    Required: Yes
  • (string) $taxonomy Taxonomy name.
    Required: Yes
Defined at:
Codex:

Fires when deleting a term, before any modifications are made to posts or terms.





Source

do_action( 'pre_delete_term', $term, $taxonomy );