login_headerurl
Filters link URL of the header logo above login form.
Usage
add_filter( 'login_headerurl', 'wp_kama_login_headerurl_filter' ); /** * Function for `login_headerurl` filter-hook. * * @param string $login_header_url Login header logo URL. * * @return string */ function wp_kama_login_headerurl_filter( $login_header_url ){ // filter... return $login_header_url; }
- $login_header_url(string)
- Login header logo URL.
Changelog
Since 2.1.0 | Introduced. |
Where the hook is called
login_headerurl
wp-login.php 138
$login_header_url = apply_filters( 'login_headerurl', $login_header_url );