get_others_drafts

Definition:
function get_others_drafts($user_id) {}

Retrieve drafts from other users.

Parameters

  • int $user_id: User ID.

Return values

returns:List of drafts from other users.

Source code

function get_others_drafts($user_id) {

	return get_others_unpublished_posts($user_id, 'draft');

}

1516

No comments yet... Be the first to leave a reply!

Leave a comment