Fires when submitting registration form data, before the user is created.
Parameters
$sanitized_user_login
string- The submitted username after being sanitized.
$user_email
string- The submitted email.
$errors
WP_Error- Contains any errors with submitted username and email, e.g., an empty field, an invalid username or email, or an existing username or email.
Source
do_action( 'register_post', $sanitized_user_login, $user_email, $errors );
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.