Fires after an object’s terms have been set.
Parameters
$object_id
int- Object ID.
$terms
array- An array of object term IDs or slugs.
$tt_ids
array- An array of term taxonomy IDs.
$taxonomy
string- Taxonomy slug.
$append
bool- Whether to append new terms to the old terms.
$old_tt_ids
array- Old array of term taxonomy IDs.
Source
do_action( 'set_object_terms', $object_id, $terms, $tt_ids, $taxonomy, $append, $old_tt_ids );
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.