Last active
August 7, 2017 09:04
-
-
Save BFTrick/6241267 to your computer and use it in GitHub Desktop.
Force WooCommerce to display the country in the address even when it's the same country as the store base location.
Also posted here: http://wordpress.stackexchange.com/questions/110167/woocommerce-force-display-of-base-country-order-addresses/110168#110168
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_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