login_headertitle
Deprecated from version 5.2.0. It is no longer supported and can be removed in future releases. See login_headertext.
Filters the title attribute of the header logo above login form.
Usage
add_filter( 'login_headertitle', 'wp_kama_login_headertitle_filter', 10, 3 ); /** * Function for `login_headertitle` filter-hook. * * @param string $login_header_title Login header logo title attribute. * @param $string * @param $__ * * @return string */ function wp_kama_login_headertitle_filter( $login_header_title, $string, $__ ){ // filter... return $login_header_title; }
- $login_header_title(string)
- Login header logo title attribute.
- $string
- -
- $__
- -
Changelog
Since 2.1.0 | Introduced. |
Deprecated since 5.2.0 | Use {@see 'login_headertext'} instead. |
Where the hook is called
login_headertitle
wp-login.php 150-156
$login_header_title = apply_filters_deprecated( 'login_headertitle', array( $login_header_title ), '5.2.0', 'login_headertext', __( 'Usage of the title attribute on the login logo is not recommended for accessibility reasons. Use the link text instead.' ) );