apply_filters( 'login_message', string $message )
Filters the message to display above the login form.
Parameters
-
$message
string -
Login message text.
More Information
TheĀ “login_message” filter is used to filter the message displayed on the WordPress login page above the login form. This filter can return HTML markup.
Source
File: wp-login.php
.
View all references
$message = apply_filters( 'login_message', $message );
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Add additional message for
wp-login.php
An example
A plugin can register as a content filter with the code:
(From Codex)
Example: