Last active
February 18, 2017 14:20
-
-
Save nielslange/4f627f33df4a26fb4a0de8d9d9120990 to your computer and use it in GitHub Desktop.
Hide all login errors
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
<?php | |
//* Hide all login errors | |
add_filter( 'login_errors', 'nl_hide_login_errors' ); | |
function nl_hide_login_errors(){ | |
return null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment