get_others_drafts

Advertisement

Deprecated Deprecated

This function has been deprecated. Use get_posts() instead.

Summery Summery

Retrieve drafts from other users.

Syntax Syntax

get_others_drafts( int $user_id )

Parameters Parameters

$user_id

(Required) User ID.

Return Return

(array) List of drafts from other users.

Source Source

File: wp-admin/includes/deprecated.php

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

See also See also

Advertisement

Leave a Reply