{"id":2285,"date":"2014-04-25T06:03:58","date_gmt":"2014-04-25T06:03:58","guid":{"rendered":"http:\/\/developer.wordpress.org\/reference\/functions\/wp_set_object_terms\/"},"modified":"2026-02-24T05:22:25","modified_gmt":"2026-02-24T05:22:25","slug":"wp_set_object_terms","status":"publish","type":"wp-parser-function","link":"https:\/\/developer.wordpress.org\/reference\/functions\/wp_set_object_terms\/","title":{"rendered":"wp_set_object_terms()"},"excerpt":{"rendered":"<p>Creates term and taxonomy relationships.<\/p>\n","protected":false},"comment_status":"open","ping_status":"open","template":"","meta":{"_crdt_document":"","footnotes":""},"wp-parser-source-file":[157],"wp-parser-package":[158,3],"wp-parser-since":[27],"class_list":["post-2285","wp-parser-function","type-wp-parser-function","status-publish","hentry","wp-parser-source-file-wp-includes_taxonomy-php","wp-parser-package-taxonomy","wp-parser-package-wordpress","wp-parser-since-2-3-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/2285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function"}],"about":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/types\/wp-parser-function"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/comments?post=2285"}],"version-history":[{"count":5,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/2285\/revisions"}],"predecessor-version":[{"id":144041,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/2285\/revisions\/144041"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=2285"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=2285"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=2285"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=2285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}