Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/user.php | do_action | 3365 | /** * Fires when submitting registration form data, before the user is created. * * @since 2.1.0 * * @param string $sanitized_user_login The submitted username after being sanitized. * @param string $user_email The submitted email. * @param WP_Error $errors Contains any errors with submitted username and email, * e.g., an empty field, an invalid username or email, * or an existing username or email. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $sanitized_user_login | The submitted username after being sanitized. |
string | $user_email | The submitted email. |
WP_Error | $errors | Contains any errors with submitted username and email, |