Allwebtuts

Menu
  • Home
  • About us
  • Contact Us
  • Php
  • HTML
  • WordPress
  • Blogger
Home
Plugins
How to Disable WordPress Email Login and Login Error Messages

How to Disable WordPress Email Login and Login Error Messages

Santhosh veer Last Updated: October 9, 2016 Plugins, Wordpress

How to Disable WordPress Email Login and Login Error Messages

In this tutorial, we are going to see about How to Disable WordPress Email Login and Login Error Messages this will help your WordPress website From attacks.

How to Disable WordPress Email Login

Recently WordPress 4.5 introduced the Login with E-Mail Feature but this is not a useful feature because if someone knows your Admin E-Mail address Means they try to log-in your WordPress website by using your E-mail address and it make easier to break your website.Here is the solution for you Just add the single code to Disable WordPress Email Login

Disable WordPress Email Login and Login Error Messages

  • Login to your WordPress dashboard
  • Go to Appearance > Editor > Functions.php
  • Add this Below code in functions.php File
remove_filter( 'authenticate', 'wp_authenticate_email_password', 20 );
  • Another Method to add this code on your WordPress website by creating a Child theme or  site-specific WordPress plugin.
  • Check the Below Image successfully we disable the Wordpress Email Login

Disable WordPress Email Login and Login Error Messages

How to Disable WordPress Login Error Messages

This is the Another Major Problem for WordPress users is showing Login Error Messages.Login Pages show the error Messages when we entering the Correct username and wrong password.Check the below image

Disable WordPress Email Login and Login Error Messages

This Message confirms that this your username for your WordPress website and nowadays we need a Privacy and security for Maintaining our WordPress website Here is the Solution for this problem just adding a single line code to hide the WordPress Login Error Messages

  • Login to your WordPress Dashboard
  • Add the Below code on your Functions.php file or Learn How to create a Child theme for adding Custom Functionality in our WordPress theme

function no_wordpress_errors(){
return 'Something is wrong!';
}
add_filter( 'login_errors', 'no_wordpress_errors' );

  • You can also add your Custom WordPress Login Error Messages by replacing the Something is wrong 
  • Now Check the Below Image After adding this code

Disable WordPress Email Login and Login Error Messages

  • That’s all Successfully we hide the Wordpress Login Error Messages

Quick tip Secure your WordPress Login

  • Use Strong and secure Passwords
  • use username with symbols

If you Have Any Doubts in this Topic Please Feel free to Comment here our team will help you.



Was this article helpful?
Yes, thanks!
Not really
Thanks!

Your feedback helps us improve Allwebtuts.com





Related Posts

Facebook like box shortcode plugin for WordPress

Facebook like box shortcode plugin for WordPress

[beginners guide] WordPress Post Redirection with and without Plugins

[beginners guide] WordPress Post Redirection with and without Plugins

How to Add Fast Loading Google Maps Widget in WordPress

How to Add Fast Loading Google Maps Widget in WordPress

About The Author

Santhosh veer

Blogger - Web Developer - Open Source Lover

Free Email Updates

Latest Offers

10$ Free Credit
allwebtuts

Digital Ocean

Just Sign up and Get your 10$ DO credit
Get This Deal

Join with us

Allwebtuts Copyright © 2023.
Cloudways + Schema Theme + KeyCDN - Privacy Policy - Cookie Policy