get_others_drafts() – Retrieve drafts from other users.

You appear to be a bot. Output may be restricted

Description

Retrieve drafts from other users.

Usage

$array = get_others_drafts( $user_id );

Parameters

$user_id
( int ) required – User ID.

Returns

array List of drafts from other users.

Source

File name: wordpress/wp-admin/includes/deprecated.php
Lines:

1 to 5 of 5
function get_others_drafts($user_id) {
  _deprecated_function( get_others_drafts, '3.1.0' );

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

 View on GitHub View on Trac