login_site_html_link
Filters the "Go to site" link displayed in the login page footer.
Usage
add_filter( 'login_site_html_link', 'wp_kama_login_site_html_link_filter' ); /** * Function for `login_site_html_link` filter-hook. * * @param string $link HTML link to the home URL of the current site. * * @return string */ function wp_kama_login_site_html_link_filter( $link ){ // filter... return $link; }
- $link(string)
- HTML link to the home URL of the current site.
Changelog
Since 5.7.0 | Introduced. |
Where the hook is called
wp-login.php 343
echo apply_filters( 'login_site_html_link', $html_link );