get_others_pending()WP 1.0

Устарела с версии 3.1.0. Больше не поддерживается и может быть удалена. Используйте get_posts().

Retrieve pending review posts from other users.

Хуков нет.

Возвращает

Массив. List of posts with pending review post type from other users.

Использование

get_others_pending( $user_id );
$user_id(int) (обязательный)
User ID.

Заметки

Список изменений

Устарела с 3.1.0 Use get_posts()

Код get_others_pending() WP 6.4.3

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

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