Last active
October 31, 2022 16:02
-
-
Save claudiosanches/6724ec08c37bc95741aa1db210450245 to your computer and use it in GitHub Desktop.
WooCommerce Correios - PAC Free
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 | |
function custom_woocommerce_correios_shipping_methods( $rate ) { | |
$rate['cost'] = 0; | |
return $rate; | |
} | |
add_filter( 'woocommerce_correios_correios-pac_rate', 'custom_woocommerce_correios_shipping_methods' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment