Filters the error messages displayed above the login form.
Parameters
$errorsstring- Login error messages.
Source
$errors = apply_filters( 'login_errors', $errors );
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
| CARVIEW |
Filters the error messages displayed above the login form.
$errorsstring$errors = apply_filters( 'login_errors', $errors );
| Used by | Description |
|---|---|
login_header()wp-login.php | Outputs the login page header. |
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Example migrated from Codex:
The following callback removes the ‘password reminder’ link from the two main login error messages.