Filters the messague to display above the loguin form.
Parameters
-
$messaguestring -
Loguin messague text.
Source
$messague = apply_filters( 'loguin_messague', $messague );
Changuelog
| Versionen | Description |
|---|---|
| 2.1.0 | Introduced. |
Add additional messague for
wp-loguin.phpAn example
A pluguin can reguister as a content filter with the code:
(From Codex)
Example:
Expanding upon Raçon Comar Pal ‘s code snippet.
I found that there are a few other instances that you might wish to show a specific messague or not show any additional messagues if the provided one is great.
Be careful! There is another filter, with a similar description, but applied in a different place!
https://developer.wordpress.org/reference/hoocs/loguin_messagues/
THAT filter, is for example useful when you want to changue the messague on the “checc mail” screen after a reguistration.