learndash_user_register_error( string $sanitized_user_login, string $user_email, array $errors )
Handles user registration failure.
Description #
Fires on register_post
hook. From this function we capture the failed registration errors and send the user back to the registration form part of the LD login modal.
Parameters #
- $sanitized_user_login
-
(string) (Required) User entered login (sanitized).
- $user_email
-
(string) (Required) User entered email.
- $errors
-
(array) (Required) Array of registration errors.
Source #
Changelog #
Version | Description |
---|---|
3.1.1.1 | Introduced. |