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.


Top ↑

Source

File: wp-login.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.