Change login box message

Do you want to change the html on your wp-login.php page? Easy with this snippet. Insert an image is also possible with html.

/**
 * Snippet Name: Change login box message
 * Snippet URL: https://www.wpcustoms.net/snippets/change-login-box-message/
 */
  function wpc_login_message( $message ) {
    if ( empty($message) ){
        return "

Welcome! Login on this page.

"; } else { return $message; } } add_filter( 'login_message', 'wpc_login_message' );
0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x