login_site_html_link WordPress Filter Hook
This hook allows you to add a custom link to the WordPress login page. This is useful if you want to add a link to your login page that goes to a different site or a custom login page.
apply_filters( 'login_site_html_link', string $link ) #
Filter the “Go to site” link displayed in the login page footer.
Parameters
- $link
(string)HTML link to the home URL of the current site.
Source
File: wp-login.php
Changelog
| Version | Description |
|---|---|
| 5.7.0 | Introduced. |