{"id":39859,"date":"2018-12-06T21:12:26","date_gmt":"2018-12-06T21:12:26","guid":{"rendered":"https:\/\/developer.wordpress.org\/reference\/functions\/has_blocks\/"},"modified":"2026-02-24T05:20:54","modified_gmt":"2026-02-24T05:20:54","slug":"has_blocks","status":"publish","type":"wp-parser-function","link":"https:\/\/developer.wordpress.org\/reference\/functions\/has_blocks\/","title":{"rendered":"has_blocks()"},"excerpt":{"rendered":"<p>Determines whether a post or content string has blocks.<\/p>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":{"_crdt_document":"","footnotes":""},"wp-parser-source-file":[914],"wp-parser-package":[915,3],"wp-parser-since":[907],"class_list":["post-39859","wp-parser-function","type-wp-parser-function","status-publish","hentry","wp-parser-source-file-wp-includes_blocks-php","wp-parser-package-blocks","wp-parser-package-wordpress","wp-parser-since-5-0-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/39859","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=39859"}],"version-history":[{"count":2,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/39859\/revisions"}],"predecessor-version":[{"id":142474,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/39859\/revisions\/142474"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=39859"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=39859"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=39859"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=39859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}