edit_user_created_user
do_action( ‘edit_user_created_user’, int $user_id , string $notify )
操作挂钩:在创建新用户后激发。
Action Hook: Fires after a new user has been created.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$user_id | (int) | 新创建的用户的ID。 |
$notify | (string) | 应该发生的通知类型。有关可能值的详细信息,请参见wp_send_new_user_notifications()。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.4.0 | wp-admin/includes/user.php:242 | 1 | 0 |
edit_user_created_user 为WP2原创文章,链接:https://www.wp2.cn/hook/edit_user_created_user/