Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save webdados/4963640c7be64cdf1282e70ad9a25fb3 to your computer and use it in GitHub Desktop.
Save webdados/4963640c7be64cdf1282e70ad9a25fb3 to your computer and use it in GitHub Desktop.
Change the VAT number position on the My Account and Thank You order details on the Invoicing with InvoiceXpress for WooCommerce plugin
<?php
/**
* https://ptwooplugins.com/product/invoicing-with-invoicexpress-for-woocommerce-pro/
* https://invoicewoo.com/
*/
// Change hook
add_filter( 'invoicexpress_woocommerce_vat_position_my_account', function( $hook ) {
return 'woocommerce_order_details_after_order_table';
} );
// Change hook priority
add_filter( 'invoicexpress_woocommerce_vat_position_my_account_priority', function( $hook ) {
return 20;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment