login_errors filter-hook . WP 2.1.0
Filters the error messages displayed above the login form.
Usage
add_filter( 'login_errors', 'filter_function_name_3530' ); function filter_function_name_3530( $errors ){ // filter... return $errors; }
- $errors(string)
- Login error message.
Changelog
Since 2.1.0 | Introduced. |
Where the hook is called
login_errors
wp-login.php 252
echo '<div id="login_error">' . apply_filters( 'login_errors', $errors ) . "</div>\n";