Ticket #44305: 44305.3.diff
File 44305.3.diff, 1.5 KB (added by , 4 years ago) |
---|
-
class-wp-query.php
649 649 * See WP_Date_Query::__construct(). 650 650 * @type int $day Day of the month. Default empty. Accepts numbers 1-31. 651 651 * @type bool $exact Whether to search by exact keyword. Default false. 652 * @type string|array $fields Which fields to return. Single field or all fields (string), 653 * or array of fields. 'id=>parent' uses 'id' and 'post_parent'. 654 * Default all fields. Accepts 'ids', 'id=>parent'. 652 * @type string $fields Post fields to query for. Accepts: 653 * - '' Returns an array of complete post objects (`WP_Post[]`). 654 * - 'ids' Returns an array of post IDs (`int[]`). 655 * - 'id=>parent' Returns an associative array of parent post IDs, keyed by post ID (`int[]`). 656 * Default ''. 655 657 * @type int $hour Hour of the day. Default empty. Accepts numbers 0-23. 656 658 * @type int|bool $ignore_sticky_posts Whether to ignore sticky posts or not. Setting this to false 657 659 * excludes stickies from 'post__in'. Accepts 1|true, 0|false.