Created
August 31, 2019 15:41
-
-
Save itzmekhokan/43ce720656bbed48e4e350bb30c137f9 to your computer and use it in GitHub Desktop.
Disable auto login from woocommerce my account registration
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
<?php | |
add_filter( 'woocommerce_registration_auth_new_customer', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment