apply_filters( 'lifterlms_user_login_errors', WP_Error $valid , array $data , WP_Error|false $signon )
Filters the errors found during a LifterLMS user login attempt
Parameters Parameters
- $valid
-
(WP_Error) Error object containing information about the login error.
- $data
-
(array) User submitted login form data.
- $signon
-
(WP_Error|false) The original WP Error object returned by
wp_signon()
or false if the error is encountered prior to the signon attempt.