Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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