get_others_drafts()WP 1.0

Deprecated from version 3.1.0. It is no longer supported and can be removed in future releases. Use get_posts() instead.

Retrieve drafts from other users.

No Hooks.

Return

Array. List of drafts from other users.

Usage

get_others_drafts( $user_id );
$user_id(int) (required)
User ID.

Notes

Changelog

Deprecated since 3.1.0 Use get_posts()

get_others_drafts() code WP 6.6.2

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

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