{"id":56,"date":"2014-04-25T06:01:45","date_gmt":"2014-04-25T06:01:45","guid":{"rendered":"http:\/\/developer.wordpress.org\/reference\/functions\/update_metadata\/"},"modified":"2026-08-20T01:27:55","modified_gmt":"2026-08-20T01:27:55","slug":"update_metadata","status":"publish","type":"wp-parser-function","link":"https:\/\/developer.wordpress.org\/reference\/functions\/update_metadata\/","title":{"rendered":"update_metadata()"},"excerpt":{"rendered":"<p>Updates metadata for the specified object. If no value already exists for the specified object ID and metadata key, the metadata will be added.<\/p>\n","protected":false},"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"wp-parser-source-file":[18],"wp-parser-package":[20,3],"wp-parser-since":[19],"class_list":["post-56","wp-parser-function","type-wp-parser-function","status-publish","hentry","wp-parser-source-file-wp-includes_meta-php","wp-parser-package-meta","wp-parser-package-wordpress","wp-parser-since-2-9-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/56","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=56"}],"version-history":[{"count":4,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/56\/revisions"}],"predecessor-version":[{"id":161289,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/56\/revisions\/161289"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=56"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=56"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=56"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}