mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-29 11:32:21 +08:00
https://make.wordpress.org/core/2021/02/16/login-registration-screens-changes-in-wordpress-5-7/
4 lines
242 B
Text
4 lines
242 B
Text
function wporg_login_site_html_link( $link ) {
|
|
return '<a href="' . esc_url( home_url( '/' ) ) . '">' . __( 'Back to the website', 'text-domain' ) . '</a>';
|
|
}
|
|
add_filter( 'login_site_html_link', 'wporg_login_site_html_link', 10, 1 );
|