Skip to content

Instantly share code, notes, and snippets.

@billrobbins
Last active May 6, 2019 22:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billrobbins/c9b762b2e733b6a9786f03ec139650ae to your computer and use it in GitHub Desktop.
Save billrobbins/c9b762b2e733b6a9786f03ec139650ae to your computer and use it in GitHub Desktop.
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