A WordPress-centric search engine for devs and theme authors



get_others_drafts ›

Sincen/a
Deprecated3.1.0
get_others_drafts ( $user_id )
Parameters:
  • (int) $user_id User ID.
    Required: Yes
See:
Returns:
  • (array) List of drafts from other users.
Defined at:
Codex:

Retrieve drafts from other users.



Source

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

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