do_action( ‘pre_delete_term’, int $term, string $taxonomy )

In this article

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

Parameters

$termint
Term ID.
$taxonomystring
Taxonomy name.

Source

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

Changelog

VersionDescription
4.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.