Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
USPS: Add Envelope as a service
/**
* Add letters and envelopes to international services.
*/
add_filter( 'wc_usps_services', function( $services ) {
$services['I_FIRST_CLASS']['services']['13'] = "First Class Mail® International Letters";
$services['I_FIRST_CLASS']['services']['14'] = "First Class Mail® International Large Envelope";
return $services;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.