get_users_drafts
apply_filters( ‘get_users_drafts’, string $query )
过滤钩子:过滤用户的草稿查询字符串。
Filter Hook: Filters the user’s drafts query string.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$query | (string) | 用户的草稿查询字符串。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.0.0 | wp-admin/includes/user.php:317 | 1 | 0 |
get_users_drafts 为WP2原创文章,链接:https://www.wp2.cn/hook/get_users_drafts-2/