Last active
December 22, 2015 07:49
-
-
Save mikejolley/6440600 to your computer and use it in GitHub Desktop.
Shipment tracking - change the default provider
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 = 'fedex'; // Replace this with the name of the provider. See line 42 in the plugin for the full list. | |
return $provider; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mikejolley - can you please update this snippet to have lower case Fedex re: https://woothemes.zendesk.com/agent/#/tickets/101334