Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add "distrito" to the Portuguese address format while using the "Portugal States (Distritos) for WooCommerce" plugin
<?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