do_action( 'pre_delete_term', int $term , string $taxonomy )
Fires when deleting a term, before any modifications are made to posts or terms.
Parameters
- $term
-
Term ID.
- $taxonomy
-
Taxonomy Name.
Source
File: wp-includes/taxonomy.php
Changelog
Version | Description |
---|---|
WP-4.1.0 | Introduced. |