Action hook 'register_post'
in WP Core File wp-includes/user.php at line 3429
Description
Fires when submitting registration form data, before the user is created.
Occurrences
Filename |
Line Number |
wp-includes/user.php |
3429 |
Parameters
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, e.g., an empty field, an invalid username or email, or an existing username or email. |
PHP Doc
/**
* 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.
*/