get_others_pending

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

WordPress Version: 4.6

/**
 * Retrieve pending review posts from other users.
 *
 * @deprecated 3.1.0 Use get_posts()
 * @see get_posts()
 *
 * @param int $user_id User ID.
 * @return array List of posts with pending review post type from other users.
 */
function get_others_pending($user_id)
{
    _deprecated_function(__FUNCTION__, '3.1.0');
    return get_others_unpublished_posts($user_id, 'pending');
}

WordPress Version: 4.4

/**
 * Retrieve pending review posts from other users.
 *
 * @deprecated 3.1.0 Use get_posts()
 * @see get_posts()
 *
 * @param int $user_id User ID.
 * @return array List of posts with pending review post type from other users.
 */
function get_others_pending($user_id)
{
    _deprecated_function(__FUNCTION__, '3.1');
    return get_others_unpublished_posts($user_id, 'pending');
}

WordPress Version: 3.7

/**
 * Retrieve pending review posts from other users.
 *
 * @deprecated 3.1.0
 *
 * @param int $user_id User ID.
 * @return array List of posts with pending review post type from other users.
 */
function get_others_pending($user_id)
{
    _deprecated_function(__FUNCTION__, '3.1');
    return get_others_unpublished_posts($user_id, 'pending');
}