Action hook 'delete_term_relationships'

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

Description

Fires immediately before an object-term relationship is deleted.

Occurrences

Filename Line Number
wp-includes/taxonomy.php 3033

Parameters

Type Name Description
int $object_id Object ID.
array $tt_ids An array of term taxonomy IDs.
string $taxonomy Taxonomy slug.

PHP Doc

/**
		 * Fires immediately before an object-term relationship is deleted.
		 *
		 * @since 2.9.0
		 * @since 4.7.0 Added the `$taxonomy` parameter.
		 *
		 * @param int    $object_id Object ID.
		 * @param array  $tt_ids    An array of term taxonomy IDs.
		 * @param string $taxonomy  Taxonomy slug.
		 */