HTTP/2 302
server: nginx
date: Mon, 29 Dec 2025 02:14:15 GMT
content-type: text/html; charset=UTF-8
x-olaf: ⛄
vary: accept, content-type
expires: Wed, 11 Jan 1984 05:00:00 GMT
cache-control: no-cache, must-revalidate, max-age=0, no-store, private
x-redirect-by: WordPress
location: https://developer.wordpress.org/reference/hooks/date_query_valid_columns/
x-frame-options: SAMEORIGIN
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 1
HTTP/2 200
server: nginx
date: Mon, 29 Dec 2025 02:14:16 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
vary: accept, content-type
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 1
date_query_valid_columns – Hook | Developer.WordPress.org
apply_filters ( ‘date_query_valid_columns’, string[] $valid_columns )
Filters the list of valid date query columns.
$valid_columnsstring[] An array of valid date query columns. Defaults are 'post_date', 'post_date_gmt', 'post_modified', 'post_modified_gmt', 'comment_date', 'comment_date_gmt', 'user_registered', 'registered', 'last_updated'.
Version Description 4.6.0 Added 'registered' and 'last_updated' to the default recognized columns. 4.1.0 Added 'user_registered' to the default recognized columns. 3.7.0 Introduced.
User Contributed Notes
You must log in before being able to contribute a note or feedback.