How To Disable WordPress Login Hints With Ease

Learn how to disable WordPress login hints

To stop providing valuable information to hackers, disable WordPress login hints in login error messages.

Sample WordPress Login Hints

ERROR: Invalid username. Lost your password?

ERROR: Incorrect username or password.

ERROR: The password you entered for kunaldesai is incorrect. Lost your password?

kinsta managed wordpress hosting
Pay Yearly, Get 2 Months FREE

This is what WordPress displays if someone enter wrong username or password.

Hackers use these error messages as hints to guess your WordPress blog’s username, email address or password.

If you want to stop others from guessing and improve privacy, read further.

convertkit email marketing tool
14 Days Free Trial

Disable WordPress Login Hints

Stop the Bad Habit of putting custom code snippets in functions.php file.

Follow Good Habits and place the below code in WordPress Blog Specific Plugin.

//Disable WordPress Login Hints
function no_login_hints(){
      return 'Made in India!';

The above code displays “Made in India” whenever someone enters wrong username or password.

Live Chat Software
Improve Sales & Service with Chat & Ticketing System

You have now secured username, password, email address and ultimately improved privacy.

WordPress Consultant

If you want to enable this feature on your blog, contact me.