login_headertext
Filters the link text of the header logo above the login form.
Usage
add_filter( 'login_headertext', 'wp_kama_login_headertext_filter' ); /** * Function for `login_headertext` filter-hook. * * @param string $login_header_text The login header logo link text. * * @return string */ function wp_kama_login_headertext_filter( $login_header_text ){ // filter... return $login_header_text; }
- $login_header_text(string)
- The login header logo link text.
Changelog
Since 5.2.0 | Introduced. |
Where the hook is called
login_headertext
wp-login.php 167
$login_header_text = apply_filters( 'login_headertext', $login_header_text );