Changeset 51906
- Timestamp:
- 10/14/2021 06:03:07 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-date-query.php
r51905 r51906 75 75 * @type array ...$0 { 76 76 * @type string $column Optional. The column to query against. If undefined, inherits the value of 77 * the `$default_column` parameter. Accepts 'post_date', 'post_date_gmt',78 * 'post_modified','post_modified_gmt', 'comment_date', 'comment_date_gmt'.77 * the `$default_column` parameter. See WP_Date_Query::validate_column() and 78 * the {@see 'date_query_valid_columns'} filter for the list of accepted values. 79 79 * Default 'post_date'. 80 80 * @type string $compare Optional. The comparison operator. Accepts '=', '!=', '>', '>=', '<', '<=', … … 105 105 * Default (string:empty)|(array:last day of month). 106 106 * } 107 * @type string $column Optional. Used to add a clause comparing a column other than the108 * column specified in the top-level `$column` parameter. Accepts109 * 'post_date', 'post_date_gmt', 'post_modified', 'post_modified_gmt',110 * 'comment_date', 'comment_date_gmt'. Default is the value of111 * top-level `$column`.107 * @type string $column Optional. Used to add a clause comparing a column other than 108 * the column specified in the top-level `$column` parameter. 109 * See WP_Date_Query::validate_column() and 110 * the {@see 'date_query_valid_columns'} filter for the list 111 * of accepted values. Default is the value of top-level `$column`. 112 112 * @type string $compare Optional. The comparison operator. Accepts '=', '!=', '>', '>=', 113 113 * '<', '<=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'. 'IN', … … 141 141 * } 142 142 * } 143 * @param string $default_column Optional. Default column to query against. Default 'post_date'.144 * Accepts 'post_date', 'post_date_gmt', 'post_modified', 'post_modified_gmt',145 * 'comment_date', 'comment_date_gmt'.143 * @param string $default_column Optional. Default column to query against. See WP_Date_Query::validate_column() 144 * and the {@see 'date_query_valid_columns'} filter for the list of accepted values. 145 * Default 'post_date'. 146 146 */ 147 147 public function __construct( $date_query, $default_column = 'post_date' ) {
Note: See TracChangeset
for help on using the changeset viewer.