On this page
do_action( 'edit_user_created_user', int|WP_Error $user_id, string $notify )
Fires after a new user has been created.
Parameters
$user_idint|WP_Error-
ID of the newly created user or WP_Error on failure.
$notifystring-
Type of notification that should happen. See wp_send_new_user_notifications() for more information.
More Arguments from wp_send_new_user_notifications( ... $notify )
Type of notification that should happen. Accepts'admin'or an empty string (admin only),'user', or'both'(admin and user).
Default'both'.
Source
File: wp-admin/includes/user.php. View all references
do_action( 'edit_user_created_user', $user_id, $notify );
Related
Used By
| Used By | Description |
|---|---|
| edit_user() wp-admin/includes/user.php | Edit user settings based on contents of $_POST |
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/edit_user_created_user