Created
August 21, 2024 08:47
-
-
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
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
<?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