{"id":2853,"date":"2014-04-25T06:04:32","date_gmt":"2014-04-25T06:04:32","guid":{"rendered":"http:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/set_404\/"},"modified":"2026-05-20T22:21:51","modified_gmt":"2026-05-20T22:21:51","slug":"wp_query-set_404","status":"publish","type":"wp-parser-method","link":"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/set_404\/","title":{"rendered":"WP_Query::set_404()"},"excerpt":{"rendered":"<p>Sets the 404 property and saves whether query is feed.<\/p>\n","protected":false},"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"wp-parser-source-file":[871],"wp-parser-package":[183,3],"wp-parser-since":[14],"class_list":["post-2853","wp-parser-method","type-wp-parser-method","status-publish","hentry","wp-parser-source-file-wp-includes_class-wp-query-php","wp-parser-package-query","wp-parser-package-wordpress","wp-parser-since-2-0-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method\/2853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method"}],"about":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/types\/wp-parser-method"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/comments?post=2853"}],"version-history":[{"count":1,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method\/2853\/revisions"}],"predecessor-version":[{"id":10210,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method\/2853\/revisions\/10210"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=2853"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=2853"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=2853"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=2853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}