Description
Retrieves editable posts from other users.
Occurrences
Filename | Line Number |
---|---|
wp-admin/includes/deprecated.php | 715 |
Parameters
Type | Name | Description |
---|---|---|
int | $user_id | User ID to not retrieve posts from. |
string | $type | Optional. Post type to retrieve. Accepts 'draft', 'pending' or 'any' (all). Default 'any'. |
PHP Doc
/**
* Retrieves editable posts from other users.
*
* @since 2.3.0
* @deprecated 3.1.0 Use get_posts()
* @see get_posts()
*
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param int $user_id User ID to not retrieve posts from.
* @param string $type Optional. Post type to retrieve. Accepts 'draft', 'pending' or 'any' (all).
* Default 'any'.
* @return array List of posts from others.
*/