Created
April 25, 2019 15:15
-
-
Save webdados/6e0f3cedb315bfdb9ac258bc6e630101 to your computer and use it in GitHub Desktop.
"yes" as default for Create user on "Shop as client" plugin
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( 'shop_as_client_default_create_user', function( $option ) { | |
return 'yes'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment