{"id":13129,"date":"2014-12-18T20:07:36","date_gmt":"2014-12-18T20:07:36","guid":{"rendered":"http:\/\/developer.wordpress.org\/reference\/classes\/wp_date_query\/get_sql_for_query\/"},"modified":"2026-08-20T01:17:10","modified_gmt":"2026-08-20T01:17:10","slug":"wp_date_query-get_sql_for_query","status":"publish","type":"wp-parser-method","link":"https:\/\/developer.wordpress.org\/reference\/classes\/wp_date_query\/get_sql_for_query\/","title":{"rendered":"WP_Date_Query::get_sql_for_query()"},"excerpt":{"rendered":"<p>Generates SQL clauses for a single query array.<\/p>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"wp-parser-source-file":[1067],"wp-parser-package":[],"wp-parser-since":[597],"class_list":["post-13129","wp-parser-method","type-wp-parser-method","status-publish","hentry","wp-parser-source-file-wp-includes_class-wp-date-query-php","wp-parser-since-4-1-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method\/13129","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=13129"}],"version-history":[{"count":2,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method\/13129\/revisions"}],"predecessor-version":[{"id":146246,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method\/13129\/revisions\/146246"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=13129"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=13129"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=13129"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=13129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}