Skip to content

Instantly share code, notes, and snippets.

@woogist
Last active September 22, 2022 02:37
Show Gist options
  • Save woogist/9c708d0226cd3767de8601171fd2f7c4 to your computer and use it in GitHub Desktop.
Save woogist/9c708d0226cd3767de8601171fd2f7c4 to your computer and use it in GitHub Desktop.
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