add_user()
add_user()
使用$POST信息从“用户”窗体创建新用户。
Creates a new user from the “Users” form using $_POST information.
返回(Return)
(int|WP_Error)WP_Error或用户ID。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.0.0 | wp-admin/includes/user.php:16 | 0 | 1 function |
add_user() 为WP2原创文章,链接:https://www.wp2.cn/functions/add_user/