Skip to content

Instantly share code, notes, and snippets.

@wpspeak
Created June 17, 2013 03:45
Show Gist options
  • Save wpspeak/5794538 to your computer and use it in GitHub Desktop.
Save wpspeak/5794538 to your computer and use it in GitHub Desktop.
Cuatomize the failed login error message
<?php
// Cuatomize the failed login error message
function failed_login() {
return 'Incorrect login information.';
}
add_filter('login_errors', 'failed_login');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment