Skip to content

Instantly share code, notes, and snippets.

@wpmu-authors
Created September 28, 2022 20:49
Show Gist options
  • Save wpmu-authors/63051577d9f256ccf7f8beb792c61f7c to your computer and use it in GitHub Desktop.
Save wpmu-authors/63051577d9f256ccf7f8beb792c61f7c to your computer and use it in GitHub Desktop.
<?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