get_editable_authors()
get_editable_authors( int $user_id )
获取可以编辑文章的作者用户。
Gets author users who can edit posts.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$user_id | (int) | 必需 | 用户ID。 |
返回(Return)
(array|bool)可编辑作者列表。如果没有可编辑用户,则为False。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.1.0 | wp-admin/includes/deprecated.php:252 | 0 | 4 |
get_editable_authors() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_editable_authors/