Skip to content

Instantly share code, notes, and snippets.

@feliciaceballos
Created March 12, 2019 07:17
Show Gist options
  • Save feliciaceballos/3c81b0afc5d6e850b6b677529006739f to your computer and use it in GitHub Desktop.
Save feliciaceballos/3c81b0afc5d6e850b6b677529006739f to your computer and use it in GitHub Desktop.
WordPress Login Page Override Error Message
<?php
//remove <?php when you paste into your functions.php file
function login_error_override()
{
return 'Incorrect login details.';
}
add_filter('login_errors', 'login_error_override');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment