开发者 |
webdados
ptwooplugins |
---|---|
更新时间 | 2024年10月7日 18:37 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 6.7 |
Add this to your (child) theme’s functions.php file:
add_filter( 'woocommerce_portugal_postcode_class', function( $class ) { return array( 'form-row-wide' ); }); add_filter( 'woocommerce_portugal_city_class', function( $class ) { return array( 'form-row-wide' ); });
Yes.
Yes.
This is a free plugin. It’s our way of giving back to the wonderful WordPress community. There’s a support tab on the top of this page, where you can ask the community for help. We’ll try to keep an eye on the forums but we cannot promise to answer support tickets. If you reach us by email or any other direct contact means, we’ll assume you need, premium, and of course, paid-for support.
You can report any security bugs found in the source code of this plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.
postcode_before_city
locale property which was causing a PHP notice on the blocks checkoutRequires Plugins
tag to woocommerce
woocommerce_portugal_localisation_address_formats_priority
filter to change the hook priority for the address formatwoocommerce_portugal_postcode_class
and woocommerce_portugal_city_class
WC tested up
tagRequires at least
tagWC tested up to
tagwoocommerce_portugal_postcode_priority
filter to allow overriding the "Postal Code" priority valuewoocommerce_portugal_city_label
filter to be able to change the "City" field labelwoocommerce_portugal_state_label
filter to be able to change the "District" field labelwoocommerce_portugal_state_required
filter to be able to set the "District" field as not requiredWC tested up to
tagwoocommerce_portugal_address_format_include_state
filter)Tested up to
taglang
folder (the translations are now managed on WordPress.org’s GlotPress tool and will be automatically downloaded from there)WC tested up to
tag on the plugin main fileTested up to
tagTested up to
tagTested up to
tag