• If this broke your Lost Password link, the following code based on the Feed example worked for me:

    add_filter( ‘restricted_site_access_is_restricted’, ‘my_rsa_feed_override’, 10, 2 );
    function my_rsa_feed_override( $is_restricted, $wp ) {
    // check query variables to see if this is the feed
    if ( is_wc_endpoint_url( ‘lost-password’ ) ) {
    $is_restricted = false;
    }
    return $is_restricted;
    }

    If the current URL is the Lost Password endpoint, then don’t restrict page. Without this, my lost password links would not work and also the initial invite email would not let people in.

  • The topic ‘Good plugin. Broke my Lost Password link, here is fix’ is closed to new replies.