Created
April 8, 2019 20:48
-
-
Save clifgriffin/0c36714283509e236fef0da203a5ea96 to your computer and use it in GitHub Desktop.
Force WooCommerce to show country in shipping address preview.
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 | |
// Do NOT include the opening php tag. | |
// Place in your theme's functions.php file | |
add_filter( 'woocommerce_formatted_address_force_country_display', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment