get_others_drafts

The timeline below displays how wordpress function get_others_drafts has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.6

/**
 * Retrieve drafts from other users.
 *
 * @deprecated 3.1.0 Use get_posts()
 * @see get_posts()
 *
 * @param int $user_id User ID.
 * @return array List of drafts from other users.
 */
function get_others_drafts($user_id)
{
    _deprecated_function(__FUNCTION__, '3.1.0');
    return get_others_unpublished_posts($user_id, 'draft');
}

WordPress Version: 4.4

/**
 * Retrieve drafts from other users.
 *
 * @deprecated 3.1.0 Use get_posts()
 * @see get_posts()
 *
 * @param int $user_id User ID.
 * @return array List of drafts from other users.
 */
function get_others_drafts($user_id)
{
    _deprecated_function(__FUNCTION__, '3.1');
    return get_others_unpublished_posts($user_id, 'draft');
}

WordPress Version: 3.7

/**
 * Retrieve drafts from other users.
 *
 * @deprecated 3.1.0
 *
 * @param int $user_id User ID.
 * @return array List of drafts from other users.
 */
function get_others_drafts($user_id)
{
    _deprecated_function(__FUNCTION__, '3.1');
    return get_others_unpublished_posts($user_id, 'draft');
}