Used By
Used By | Description |
---|---|
wp-includes/class-wp-date-query.php: WP_Date_Query::validate_column() | Validates a column name parameter. |
Filters the list of valid date query columns.
(string[]) 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'
Version | Description |
---|---|
4.1.0 | Added 'user_registered' to the default recognized columns. |
3.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/date_query_valid_columns