Last active
September 22, 2022 02:37
-
-
Save woogist/9c708d0226cd3767de8601171fd2f7c4 to your computer and use it in GitHub Desktop.
Changing the default shipment provider - https://docs.woocommerce.com/document/shipment-tracking/#section-5
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
add_filter( 'woocommerce_shipment_tracking_default_provider', 'custom_woocommerce_shipment_tracking_default_provider' ); | |
function custom_woocommerce_shipment_tracking_default_provider( $provider ) { | |
$provider = 'USPS'; | |
return $provider; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment