Created
January 20, 2021 01:17
-
-
Save kilroyjones/c981391bb507244498e2ad6fe33a7b68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'login_head', 'wpse_121687_hide_login' ); | |
function wpse_121687_hide_login() { | |
$style = ''; | |
$style .= '<style type="text/css">'; | |
$style .= '.login form{ display: none }'; | |
$style .= '.login #nav a, .login #backtoblog a { display: none }'; | |
$style .= '</style>'; | |
echo $style; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment