Changeset 32575
- Timestamp:
- 05/24/2015 04:50:53 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r32574 r32575 1640 1640 * @since 3.4.0 1641 1641 * 1642 * The optional $filter parameter modifies the query used to retrieve posts. 1643 * Accepted keys are 'post_type', 'post_status', 'number', 'offset', 1644 * 'orderby', and 'order'. 1645 * 1646 * The optional $fields parameter specifies what fields will be included 1647 * in the response array. 1648 * 1649 * @uses wp_get_recent_posts() 1650 * @see wp_getPost() for more on $fields 1651 * @see get_posts() for more on $filter values 1652 * 1653 * @param array $args Method parameters. Contains: 1654 * - int $blog_id (unused) 1655 * - string $username 1656 * - string $password 1657 * - array $filter optional 1658 * - array $fields optional 1642 * @see wp_get_recent_posts() 1643 * @see wp_getPost() for more on `$fields` 1644 * @see get_posts() for more on `$filter` values 1645 * 1646 * @param array $args { 1647 * Method parameters. 1648 * 1649 * @type int $blog_id Blog ID (unused). 1650 * @type string $username Username. 1651 * @type string $password Password. 1652 * @type array $filter Optional. Modifies the query used to retrieve posts. Accepts 'post_type', 1653 * 'post_status', 'number', 'offset', 'orderby', and 'order'. 1654 * Default empty array. 1655 * @type array $fields Optional. The subset of post type fields to return in the response array. 1656 * } 1659 1657 * @return array|IXR_Error Array contains a collection of posts. 1660 1658 */
Note: See TracChangeset
for help on using the changeset viewer.