do_action( ‘set_object_terms’, int $object_id, array $terms, array $tt_ids, string $taxonomy, bool $append, array $old_tt_ids )

In this article

Fires after an object’s terms have been set.

Parameters

$object_idint
Object ID.
$termsarray
An array of object term IDs or slugs.
$tt_idsarray
An array of term taxonomy IDs.
$taxonomystring
Taxonomy slug.
$appendbool
Whether to append new terms to the old terms.
$old_tt_idsarray
Old array of term taxonomy IDs.

Source

do_action( 'set_object_terms', $object_id, $terms, $tt_ids, $taxonomy, $append, $old_tt_ids );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

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