Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Use billing country instead of shipping country for OSS in Invoicing with InvoiceXpress for WooCommerce
<?php
add_filter( 'invoicexpress_woocommerce_oss_order_country', function( $country, $order_object ) {
return $order_object->get_billing_country();
}, 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment