Created
June 3, 2019 12:40
-
-
Save webdados/3b4c0545b6e18ab3a6551a7af3fe7e83 to your computer and use it in GitHub Desktop.
Add "distrito" to the Portuguese address format while using the "Portugal States (Distritos) for WooCommerce" 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 to your (child-)theme functions.php file | |
add_filter( 'woocommerce_portugal_address_format_include_state', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment