Wednesday, March 25, 2015

WordPress: disable password reset

So you would like to take full control of your WordPress blog's / website's user management, and thus want to disable the password reset function (maybe you only want to allow specific users to access it), and thought it's just one simple function in your functions.php file, and that's it?

Well, it turns out it's a little more than that, otherwise you'll miss the important bits and pieces, and will end up keeping a backdoor open.

So let me share with you the full code that is needed to ensure password reset is disabled completely in your WordPress blog or website:

(click in the box to highlight the code for copy)


  1. Thanks for sharing valuable information about how to reset password in wordpress.


Dear legitimate commenters, please post your comments below. I'd be happy to receive your feedback; helps me a lot improving, or getting reassurance that I'm doing something really great here.

IMPORTANT! A note to commenters planning on advertising their business in comments: please be informed that I'm NOT going to post your comments but will ALWAYS mark them as SPAM.