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

get_others_drafts( int $user_id )

Retrieve drafts from other users.


Description Description

See also See also


Top ↑

Parameters Parameters

$user_id

(int) (Required) User ID.


Top ↑

Return Return

(array) List of drafts from other users.


Top ↑

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');
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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