Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Austin

    (@austyfrosty)

    You’ll find that in the default WordPress Settings. Just turn off allow registration.

    Thread Starter dhrose

    (@dhrose)

    Er I have “Anyone can register” deselected… I’m still getting a lost password and or register link. I’m using the plugin page-restrict which was working fine. Then it started showing a register and recover password link?

    Plugin Author Austin

    (@austyfrosty)

    Try adding this function to your themes functions.php or your functionallity plugin.

    add_filter ( 'allow_password_reset', '__return_false' );

    For me stopping lost password request worked with:

    function my_login_restrict_password_reset() {
    return false;
    }
    add_filter(‘allow_password_reset’,’my_login_restrict_password_reset’);

    Perfectly working till last upgrade of few days ago. Now password request came back again even if functions.php still has modifications. Can you help me please? Can I go back to old version ?

    Plugin Author Austin

    (@austyfrosty)

    @micron2 That function is the same thing as the function I put above. Try adding a later priority like 19 or 99.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide register and recover password…’ is closed to new replies.