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

int

Term ID.

$taxonomy

string

Taxonomy name.

Source

File: wp-includes/taxonomy.php.

View all references

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

Leave a Reply

Your email address will not be published. Required fields are marked *