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
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.