learndash_user_register_error( string $sanitized_user_login, string $user_email, array $errors )
Handles user registration failure.
Description 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 Parameters
- $sanitized_user_login
-
(Required) User entered login (sanitized).
- $user_email
-
(Required) User entered email.
- $errors
-
(Required) Array of registration errors.
Source Source
File: themes/ld30/includes/login-register-functions.php
Changelog Changelog
| Version | Description |
|---|---|
| 3.1.1.1 | Introduced. |