Filters the error messages displayed above the login form.
Parameters
$errors
string- Login error messages.
Source
$errors = apply_filters( 'login_errors', $errors );
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
Filters the error messages displayed above the login form.
$errors
string$errors = apply_filters( 'login_errors', $errors );
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.