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: