do_action( ‘deleted_term_relationships’, int $object_id, array $tt_ids, string $taxonomy )

In this article

Fires immediately after an object-term relationship is deleted.

Parameters

$object_idint
Object ID.
$tt_idsarray
An array of term taxonomy IDs.
$taxonomystring
Taxonomy slug.

Source

do_action( 'deleted_term_relationships', $object_id, $tt_ids, $taxonomy );

Changelog

VersionDescription
4.7.0Added the $taxonomy parameter.
2.9.0Introduced.

User Contributed Notes

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