Last active
May 6, 2019 22:32
-
-
Save billrobbins/c9b762b2e733b6a9786f03ec139650ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function woohe_forcelogin_bypass( $bypass ) { | |
if ( is_wc_endpoint_url( 'lost-password' ) ) { | |
$bypass = true; | |
} | |
return $bypass; | |
} | |
add_filter( 'v_forcelogin_bypass', 'woohe_forcelogin_bypass' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment