date_query_valid_columns

最后更新于:2021-11-26 04:12:50

apply_filters( ‘date_query_valid_columns’, string[] $valid_columns )

Filters the list of valid date query columns.

参数

$valid_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’

源文件

文件: gc-includes/class-gc-date-query.php

View on Trac