Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / Hooks / login_headertext

apply_filters( 'login_headertext', string $login_header_text )

Filters the link text of the header logo above the login form.

Contents

  • Parameters
  • Source
  • Related
    • Used By
  • Changelog
  • User Contributed Notes

Parameters

$login_header_text string
The login header logo link text.

Top ↑

Source

File: wp-login.php. View all references

$login_header_text = apply_filters( 'login_headertext', $login_header_text );

View on Trac View on GitHub


Top ↑

Related

Top ↑

Used By

Used By
Used By Description
login_header() wp-login.php

Output the login page header.


Top ↑

Changelog

Changelog
Version Description
5.2.0 Introduced.

Top ↑

User Contributed Notes

  1. Skip to note 1 content
    You must log in to vote on the helpfulness of this noteVote results for this note: 1You must log in to vote on the helpfulness of this note
    Contributed by Nilambar Sharma — 4 years ago
    // Customize login header text.
    add_filter( 'login_headertext', 'wpdoc_customize_login_headertext' );
    
    function wpdoc_customize_login_headertext( $headertext ) {
    	$headertext = esc_html__( 'Welcome to WordPress', 'plugin-textdomain' );
    	return $headertext;
    }
    Log in to add feedback
  2. Skip to note 2 content
    You must log in to vote on the helpfulness of this noteVote results for this note: 0You must log in to vote on the helpfulness of this note
    Contributed by thejaydip — 1 year ago

    An example of login header logo title.

    function wpdocs_login_logo_url_title( $text ) {
        $text = get_bloginfo( 'name' ) . ' | ' . get_bloginfo( 'description' );
        return $text;
    }
    add_filter( 'login_headertitle', 'wpdocs_login_logo_url_title' );
    Log in to add feedback

You must log in before being able to contribute a note or feedback.

  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.