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

Fires after an object’s terms have been set.

Description Description

Parameters Parameters


(int) Object ID.


(array) An array of object terms.


(array) An array of term taxonomy IDs.


(string) Taxonomy slug.


(bool) Whether to append new terms to the old terms.


(array) Old array of term taxonomy IDs.

Top ↑

Source Source

File: wp-includes/taxonomy.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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