Yes, can you help me out to? I paste this code in my theme functions.php, but nothing happens…
add_filter( ‘restricted_site_access_is_restricted’, ‘my_restricted_check’, 10, 2 );
function my_restricted_check( $is_restricted, $wp ) {
if ( false === $is_restricted )
return false;
if ( ! empty( $wp->query_vars[‘wachtwoordreset’] ) && $wp->query_vars[‘wachtwoordreset’] == ‘lost-password’ )
return false;
return true;
}