pre_delete_term

SummerySummery

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

Syntax

do_action( 'pre_delete_term', int $term, string $taxonomy )

ParametersParameters

$term

(int) Term ID.

$taxonomy

(string) Taxonomy Name.

SourceSource

File: wp-includes/taxonomy.php

ChangelogChangelog

Changelog
Version Description
4.1.0 Introduced.
Scroll to Top