Created
November 4, 2016 09:07
-
-
Save christoferw/7e485903f1494181a5095e133d0cebd8 to your computer and use it in GitHub Desktop.
Change WordPress login error message
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
if ( ! function_exists( 'weslink_change_wordpress_errors' ) ) { | |
function weslink_change_wordpress_errors(){ | |
return 'Irgendetwas ist hier falsch!'; // Hier kann man eine beliebige Fehlermeldung ausgeben | |
} | |
} | |
add_filter( 'login_errors', 'weslink_change_wordpress_errors' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment