login_site_html_link filter-hook . WP 5.7.0
Filter the "Go to site" link displayed in the login page footer.
Usage
add_filter( 'login_site_html_link', 'filter_function_name_7989' ); function filter_function_name_7989( $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_site_html_link
wp-login.php 303
echo apply_filters( 'login_site_html_link', $html_link );