On this page
get_others_pending( int $user_id ): array
This function has been deprecated. Use get_posts() instead.
Retrieve pending review posts from other users.
Description
See also
Parameters
$user_idint Required-
User ID.
Return
array List of posts with pending review post type from other users.
Source
File: wp-admin/includes/deprecated.php. View all references
function get_others_pending($user_id) {
_deprecated_function( __FUNCTION__, '3.1.0' );
return get_others_unpublished_posts($user_id, 'pending');
}
Related
Uses
| Uses | Description |
|---|---|
| get_others_unpublished_posts() wp-admin/includes/deprecated.php | Retrieves editable posts from other users. |
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_others_pending