Created
September 28, 2022 20:32
-
-
Save wpmu-authors/840c17a6ff1daafbc487480d43934e91 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?php | |
//Here's my custom CSS that removes the back link in a function | |
function my_login_page_remove_back_to_link() { ?> | |
<style type="text/css"> | |
body.login div#login p#backtoblog { | |
display: none; | |
} | |
</style> | |
<?php } | |
//This loads the function above on the login page | |
add_action( 'login_enqueue_scripts', 'my_login_page_remove_back_to_link' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment