wpseek.com
A WordPress-centric search engine for devs and theme authors



set_object_terms › WordPress Action Hooks

Since2.8.0
Deprecatedn/a
do_action( 'set_object_terms', $object_id, $terms, $tt_ids, $taxonomy, $append, $old_tt_ids )
Parameters: (6)
  • (int) $object_id Object ID.
    Required: Yes
  • (array) $terms An array of object term IDs or slugs.
    Required: Yes
  • (array) $tt_ids An array of term taxonomy IDs.
    Required: Yes
  • (string) $taxonomy Taxonomy slug.
    Required: Yes
  • (bool) $append Whether to append new terms to the old terms.
    Required: Yes
  • (array) $old_tt_ids Old array of term taxonomy IDs.
    Required: Yes
Defined at:
Codex:

Fires after an object's terms have been set.





Source

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