Skip to content

Instantly share code, notes, and snippets.

@mikejolley
Last active December 22, 2015 07:49
Show Gist options
  • Save mikejolley/6440600 to your computer and use it in GitHub Desktop.
Save mikejolley/6440600 to your computer and use it in GitHub Desktop.
Shipment tracking - change the default provider
add_filter( 'woocommerce_shipment_tracking_default_provider', 'custom_woocommerce_shipment_tracking_default_provider' );
function custom_woocommerce_shipment_tracking_default_provider( $provider ) {
$provider = 'fedex'; // Replace this with the name of the provider. See line 42 in the plugin for the full list.
return $provider;
}
@msdesign21
Copy link

@mikejolley - can you please update this snippet to have lower case Fedex re: https://woothemes.zendesk.com/agent/#/tickets/101334

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment