login_messages WordPress Filter Hook
The login_messages hook is used to alter the default message that is displayed on the WordPress login screen. This hook can be used to customize the message for different users or to display additional information.
apply_filters( 'login_messages', string $messages ) #
Filters instructional messages displayed above the login form.
Parameters
- $messages
(string)Login messages.
Source
File: wp-login.php
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |