Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/user.php | do_action | 2479 | /** * Fires immediately after a new user is registered. * * @since 1.5.0 * @since 5.8.0 The `$userdata` parameter was added. * * @param int $user_id User ID. * @param array $userdata The raw array of data passed to wp_insert_user(). */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $user_id | User ID. |
array | $userdata | The raw array of data passed to wp_insert_user(). |