Changeset 34886
- Timestamp:
- 10/06/2015 11:18:05 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/post-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-functions.php
r34762 r34886 1574 1574 * 1575 1575 * @param array $args { 1576 * Optional. Arguments to retrieve posts. {@see WP_Query::parse_query()} for more1576 * Optional. Arguments to retrieve posts. See WP_Query::parse_query() for all 1577 1577 * available arguments. 1578 1578 * 1579 1579 * @type int $numberposts Total number of posts to retrieve. Is an alias of $posts_per_page 1580 * in WP_Query. Accepts 1+ and -1 for all. Default 5. 1581 * @type int $offset The number of posts to offset before retrieval. Default 0. 1580 * in WP_Query. Accepts -1 for all. Default 5. 1582 1581 * @type int|string $category Category ID or comma-separated list of IDs (this or any children). 1583 1582 * Is an alias of $cat in WP_Query. Default 0. 1584 * @type string $orderby Which field to order posts by. Accepts post fields. Default 'date'.1585 1583 * @type array $include An array of post IDs to retrieve, sticky posts will be included. 1586 1584 * Is an alias of $post__in in WP_Query. Default empty array. 1587 1585 * @type array $exclude An array of post IDs not to retrieve. Default empty array. 1588 * @type string $meta_key Custom field key. Default empty.1589 * @type mixed $meta_value Custom field value. Default empty string.1590 * @type string $post_type Post type. Default 'post'.1591 1586 * @type bool $suppress_filters Whether to suppress filters. Default true. 1592 1587 * }
Note: See TracChangeset
for help on using the changeset viewer.