Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



set_object_terms ›

Seit2.8.0
Veraltetn/v
do_action( 'set_object_terms', $object_id, $terms, $tt_ids, $taxonomy, $append, $old_tt_ids )
Parameter: (6)
  • (int) $object_id Object ID.
    Erforderlich: Ja
  • (array) $terms An array of object terms.
    Erforderlich: Ja
  • (array) $tt_ids An array of term taxonomy IDs.
    Erforderlich: Ja
  • (string) $taxonomy Taxonomy slug.
    Erforderlich: Ja
  • (bool) $append Whether to append new terms to the old terms.
    Erforderlich: Ja
  • (array) $old_tt_ids Old array of term taxonomy IDs.
    Erforderlich: Ja
Definiert in:
Codex:

Fires after an object's terms have been set.





Quellcode

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