创建新用户后触发。
原型
do_action( 'edit_user_created_user', int $user_id, string $notify )
参数
$user_id
(int)
新创建的用户的ID。
$notify
(string)
应该发生的通知类型。有关可能值的更多信息,请参阅wp_send_new_user_notifications()。
源文件
路径:wp-admin/includes/user.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/edit_user_created_user/