Title: get_others_pending
Published: April 25, 2014
Last modified: May 20, 2026

---

# get_others_pending( int $user_id ): array

## In this article

 * [Description](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#description)
    - [See also](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#see-also)
 * [Parameters](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#parameters)
 * [Return](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#wp--skip-link--target)

This function has been deprecated since 3.1.0. Use [get_posts()](https://developer.wordpress.org/reference/functions/get_posts/)
instead.

Retrieve pending review posts from other users.

## 󠀁[Description](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#description)󠁿

### 󠀁[See also](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#see-also)󠁿

 * [get_posts()](https://developer.wordpress.org/reference/functions/get_posts/)

## 󠀁[Parameters](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#parameters)󠁿

 `$user_id`intrequired

User ID.

## 󠀁[Return](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#return)󠁿

 array List of posts with pending review post type from other users.

## 󠀁[Source](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#source)󠁿

    ```php
    function get_others_pending($user_id) {
    	_deprecated_function( __FUNCTION__, '3.1.0' );

    	return get_others_unpublished_posts($user_id, 'pending');
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/deprecated.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-admin/includes/deprecated.php#L742)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/deprecated.php#L742-L746)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#related)󠁿

| Uses | Description | 
| [get_others_unpublished_posts()](https://developer.wordpress.org/reference/functions/get_others_unpublished_posts/)`wp-admin/includes/deprecated.php` |

Retrieves editable posts from other users.

  | 
| [_deprecated_function()](https://developer.wordpress.org/reference/functions/_deprecated_function/)`wp-includes/functions.php` |

Marks a function as deprecated and inform when it has been used.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/get_others_pending/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.1.0](https://developer.wordpress.org/reference/since/3.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fget_others_pending%2F)
before being able to contribute a note or feedback.