do_action( ‘added_term_relationship’, int $object_id, int $tt_id, string $taxonomy )

In this article

Fires immediately after an object-term relationship is added.

Parameters

$object_idint
Object ID.
$tt_idint
Term taxonomy ID.
$taxonomystring
Taxonomy slug.

Source

do_action( 'added_term_relationship', $object_id, $tt_id, $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.