Title: login_title
Published: November 20, 2017
Last modified: May 20, 2026

---

# apply_filters( ‘login_title’, string $login_title, string $title )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/login_title/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/login_title/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/login_title/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/login_title/?output_format=md#changelog)
 * [User Contributed Notes](https://developer.wordpress.org/reference/hooks/login_title/?output_format=md#user-contributed-notes)

[ Back to top](https://developer.wordpress.org/reference/hooks/login_title/?output_format=md#wp--skip-link--target)

Filters the title tag content for login page.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/login_title/?output_format=md#parameters)󠁿

 `$login_title`string

The page title, with extra context added.

`$title`string

The original page title.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/login_title/?output_format=md#source)󠁿

    ```php
    $login_title = apply_filters( 'login_title', $login_title, $title );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-login.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-login.php#L91)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-login.php#L91-L91)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/login_title/?output_format=md#related)󠁿

| Used by | Description | 
| [login_header()](https://developer.wordpress.org/reference/functions/login_header/)`wp-login.php` |

Outputs the login page header.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/login_title/?output_format=md#changelog)󠁿

| Version | Description | 
| [4.9.0](https://developer.wordpress.org/reference/since/4.9.0/) | Introduced. |

## 󠀁[User Contributed Notes](https://developer.wordpress.org/reference/hooks/login_title/?output_format=md#user-contributed-notes)󠁿

 1.  [Skip to note 2 content](https://developer.wordpress.org/reference/hooks/login_title/?output_format=md#comment-content-5400)
 2.   [Michael Bragg](https://profiles.wordpress.org/michaelbragg/)  [  5 years ago  ](https://developer.wordpress.org/reference/hooks/login_title/#comment-5400)
 3. [You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Flogin_title%2F%23comment-5400)
    Vote results for this note: 0[You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Flogin_title%2F%23comment-5400)
 4. **Change the title tag content used on the login page.**
 5. When using the `wp-login.php` for user login. You may wish to rebrand the title
    shown in the brower tab to include extra branding.
 6.     ```php
        /**
         * Change login page title tag content.
         *
         * @param string $login_title The page title, with extra context added.
         * @param string $title       The original page title.
         *
         * @return string Modified login title string.
         */
        function wpdocs_login_title( $login_title, $title ) {
        	$login_title = $title . ' ‹ ' . get_bloginfo( 'name' ) . '— Powered by WordPress';
        	return $login_title;
        }
    
        add_filter( 'login_title', 'wpdocs_login_title' ), 10, 2 );
        ```
    
 7.  [Log in to add feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Flogin_title%2F%3Freplytocom%3D5400%23feedback-editor-5400)

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Flogin_title%2F)
before being able to contribute a note or feedback.