Best SEO and PPC Tool - Extended Free Trial  GO!
wordpress snippets

Remove WordPress Login Errors

Last modified: January 13, 2020

Cloudways

It’s a good idea not to let hackers know if they got your username or password wrong. Instead – show them a general message.

Add this to your functions.php file.

function no_wordpress_errors(){
  return 'Wrong information - please try again';
}
add_filter( 'login_errors', 'no_wordpress_errors' );
add_filter( 'auto_update_plugin', '__return_true' );

 

Show More

* This button will show the rest of the post and open up an offer from a vendor
Save 4 Later
Email liked links to yourself