Action hook 'pre_delete_term'

in WP Core File wp-includes/taxonomy.php at line 2070

Description

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

Occurrences

Filename Line Number
wp-includes/taxonomy.php 2070

Parameters

Type Name Description
int $term Term ID.
string $taxonomy Taxonomy name.

PHP Doc

/**
	 * Fires when deleting a term, before any modifications are made to posts or terms.
	 *
	 * @since 4.1.0
	 *
	 * @param int    $term     Term ID.
	 * @param string $taxonomy Taxonomy name.
	 */