1. 首页
  2. WordPress 函数手册

get_others_drafts()

get_others_drafts( int $user_id )

从其他用户检索草稿。
Retrieve drafts from other users.

目录锚点:#说明#参数#返回#源码


说明(Description)

另见函数 get_posts()


参数(Parameters)

参数 类型 必填 说明
$user_id (int) 必需 用户ID。

返回(Return)

(array)来自其他用户的草稿列表。


源码(Source)


更新版本 源码位置 使用 被使用
3.1.0 wp-admin/includes/deprecated.php:718 0 2

get_others_drafts() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_others_drafts/