On this page
do_action( 'wpmu_new_user', int $user_id )
Fires immediately after a new user is created.
Parameters
$user_idint-
User ID.
More Information
This hook will get triggered when either a user self-registers or a Super Admin creates a new user on a Multisite. Use this hook for events that should affect all new users on a Multisite; otherwise, use ‘user_register‘.
Source
File: wp-includes/ms-functions.php. View all references
do_action( 'wpmu_new_user', $user_id );
Related
Used By
| Used By | Description |
|---|---|
| wpmu_create_user() wp-includes/ms-functions.php | Creates a user. |
Changelog
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wpmu_new_user