Support » Plugin: WPS Hide Login » Hide “Forgot Password” link

  • optricsdavid

    (@optricsdavid)


    Hi,

    This plugin is very useful. However, I have a feature request.

    We STILL get a ton of attempts incoming to our “forgot password” link.

    I think if you added that as a feature to your plugin it would make an already good plugin even better.

Viewing 1 replies (of 1 total)
  • Plugin Support Benoti

    (@benoti)

    Hello,

    You can simply add the code in your child theme functions.php 😉

    // Disable password reset for all users
    function wps_disable_password_reset() {
    return false;
    }
    add_filter ( ‘allow_password_reset’, ‘wps_disable_password_reset’ );

Viewing 1 replies (of 1 total)
  • The topic ‘Hide “Forgot Password” link’ is closed to new replies.