login_site_html_link filter-hookWP 5.7.0

Filter 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

login_footer()
login_site_html_link
wp-login.php 303
echo apply_filters( 'login_site_html_link', $html_link );

Where the hook is used in WordPress

Usage not found.