Created
July 31, 2013 14:01
-
-
Save teolopez/6122239 to your computer and use it in GitHub Desktop.
change error message for incorrect login credentials.
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_filter( 'login_errors', 'rs_custom_login_error' ); | |
/* | |
* @desc Filter Wordpress admin error message | |
*/ | |
function rs_custom_login_error(){ | |
return $error = "Oops!, sorry you have inputted wrong credentials."; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment