Quantcast
Channel: WPRecipes
Viewing all articles
Browse latest Browse all 121

How to prevent WordPress to display login errors

$
0
0

Paste the following line of code into your functions.php file:

add_filter('login_errors', create_function('$a', "return null;"));

Once you saved the file, WordPress will not display any login error messages anymore.

Thanks to WP Tuts for the tip!


Viewing all articles
Browse latest Browse all 121

Trending Articles