Created
October 10, 2014 06:45
-
-
Save vishalbasnet23/e307d97290c54d3c60f6 to your computer and use it in GitHub Desktop.
Default Country woocommerce
This file contains hidden or 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
add_filter( 'default_checkout_country', 'change_default_checkout_country' ); | |
function change_default_checkout_country() { | |
return 'US'; // country code | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment