{"id":153427,"date":"2024-04-03T10:16:49","date_gmt":"2024-04-03T10:16:49","guid":{"rendered":"https:\/\/developer.wordpress.org\/reference\/functions\/wp_is_serving_rest_request\/"},"modified":"2026-08-20T01:23:23","modified_gmt":"2026-08-20T01:23:23","slug":"wp_is_serving_rest_request","status":"publish","type":"wp-parser-function","link":"https:\/\/developer.wordpress.org\/reference\/functions\/wp_is_serving_rest_request\/","title":{"rendered":"wp_is_serving_rest_request()"},"excerpt":{"rendered":"<p>Determines whether WordPress is currently serving a REST API request.<\/p>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"wp-parser-source-file":[171],"wp-parser-package":[3],"wp-parser-since":[1372],"class_list":["post-153427","wp-parser-function","type-wp-parser-function","status-publish","hentry","wp-parser-source-file-wp-includes_functions-php","wp-parser-package-wordpress","wp-parser-since-6-5-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/153427","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=153427"}],"version-history":[{"count":1,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/153427\/revisions"}],"predecessor-version":[{"id":154441,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/153427\/revisions\/154441"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=153427"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=153427"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=153427"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=153427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}