W3cubDocs

/WordPress

apply_filters( ‘login_site_html_link’, string $link )

Filters the “Go to site” link displayed in the login page footer.

Parameters

$linkstring
HTML link to the home URL of the current site.

Source

echo apply_filters( 'login_site_html_link', $html_link );

Changelog

Version Description
5.7.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/login_site_html_link