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.


Top ↑

Source

File: wp-login.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.