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_idintrequired
User ID.

Return

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

Source

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

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

Changelog

VersionDescription
3.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.