login_errors WordPress Filter Hook
The login_errors hook is triggered when there are errors during the login process. This hook can be used to display custom error messages or to take other action when a login error occurs.
apply_filters( 'login_errors', string $errors ) #
Filters the error messages displayed above the login form.
Parameters
- $errors
(string)Login error message.
Source
File: wp-login.php
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |