{"id":842,"date":"2014-04-25T06:02:34","date_gmt":"2014-04-25T06:02:34","guid":{"rendered":"http:\/\/developer.wordpress.org\/reference\/functions\/set_post_format\/"},"modified":"2026-08-20T01:30:49","modified_gmt":"2026-08-20T01:30:49","slug":"set_post_format","status":"publish","type":"wp-parser-function","link":"https:\/\/developer.wordpress.org\/reference\/functions\/set_post_format\/","title":{"rendered":"set_post_format()"},"excerpt":{"rendered":"<p>Assign a format to a post<\/p>\n","protected":false},"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"wp-parser-source-file":[69],"wp-parser-package":[70,3],"wp-parser-since":[16],"class_list":["post-842","wp-parser-function","type-wp-parser-function","status-publish","hentry","wp-parser-source-file-wp-includes_post-formats-php","wp-parser-package-post","wp-parser-package-wordpress","wp-parser-since-3-1-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/842","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=842"}],"version-history":[{"count":1,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/842\/revisions"}],"predecessor-version":[{"id":13159,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/842\/revisions\/13159"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=842"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=842"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=842"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}