Improve default argument formatting in WP_Date_Query::__construct()
.
git-svn-id: https://develop.svn.wordpress.org/trunk@30144 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cbe8e288d4
commit
09a1a6f5e6
@ -107,22 +107,30 @@ class WP_Date_Query {
|
|||||||
* specified in the top-level $column parameter. Default is the value
|
* specified in the top-level $column parameter. Default is the value
|
||||||
* of top-level $column. Accepts 'post_date', 'post_date_gmt',
|
* of top-level $column. Accepts 'post_date', 'post_date_gmt',
|
||||||
* 'post_modified', 'post_modified_gmt', 'comment_date', 'comment_date_gmt'.
|
* 'post_modified', 'post_modified_gmt', 'comment_date', 'comment_date_gmt'.
|
||||||
* @type string $compare Optional. The comparison operator. Default '='. Accepts '=', '!=',
|
* @type string $compare Optional. The comparison operator. Default '='.
|
||||||
* '>', '>=', '<', '<=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'.
|
* Accepts '=', '!=', '>', '>=', '<', '<=', 'IN', 'NOT IN',
|
||||||
* @type bool $inclusive Optional. Include results from dates specified in 'before' or 'after'.
|
* 'BETWEEN', 'NOT BETWEEN'.
|
||||||
* Default. Accepts.
|
* @type bool $inclusive Optional. Include results from dates specified in 'before' or
|
||||||
* @type int $year Optional. The four-digit year number. Default empty. Accepts any
|
* 'after'. Default false.
|
||||||
* four-digit year.
|
* @type int $year Optional. The four-digit year number. Default empty. Accepts
|
||||||
* @type int $month Optional. The two-digit month number. Default empty. Accepts numbers 1-12.
|
* any four-digit year.
|
||||||
* @type int $week Optional. The week number of the year. Default empty. Accepts numbers 0-53.
|
* @type int $month Optional. The two-digit month number. Default empty.
|
||||||
* @type int $dayofyear Optional. The day number of the year. Default empty. Accepts numbers 1-366.
|
* Accepts numbers 1-12.
|
||||||
* @type int $day Optional. The day of the month. Default empty. Accepts numbers 1-31.
|
* @type int $week Optional. The week number of the year. Default empty.
|
||||||
* @type int $dayofweek Optional. The day number of the week. Default empty. Accepts numbers 1-7 (1 is Sunday).
|
* Accepts numbers 0-53.
|
||||||
|
* @type int $dayofyear Optional. The day number of the year. Default empty.
|
||||||
|
* Accepts numbers 1-366.
|
||||||
|
* @type int $day Optional. The day of the month. Default empty.
|
||||||
|
* Accepts numbers 1-31.
|
||||||
|
* @type int $dayofweek Optional. The day number of the week. Default empty.
|
||||||
|
* Accepts numbers 1-7 (1 is Sunday).
|
||||||
* @type int $dayofweek_iso Optional. The day number of the week (ISO). Default empty.
|
* @type int $dayofweek_iso Optional. The day number of the week (ISO). Default empty.
|
||||||
* Accepts numbers 1-7 (1 is Monday).
|
* Accepts numbers 1-7 (1 is Monday).
|
||||||
* @type int $hour Optional. The hour of the day. Default empty. Accepts numbers 0-23.
|
* @type int $hour Optional. The hour of the day. Default empty. Accepts numbers 0-23.
|
||||||
* @type int $minute Optional. The minute of the hour. Default empty. Accepts numbers 0-60.
|
* @type int $minute Optional. The minute of the hour. Default empty. Accepts
|
||||||
* @type int $second Optional. The second of the minute. Default empty. Accepts numbers 0-60.
|
* numbers 0-60.
|
||||||
|
* @type int $second Optional. The second of the minute. Default empty.
|
||||||
|
* Accepts numbers 0-60.
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
|
Loading…
Reference in New Issue
Block a user