Last active
June 8, 2020 17:11
-
-
Save webdados/80a5a2847f82b1ac53e1a151e82e0f46 to your computer and use it in GitHub Desktop.
Exclude document types from invoicing exclusions on "Invoicing with InvoiceXpress for WooCommerce - Exclude categories/tags extension"
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 | |
add_filter( 'invoicexpress_woocommerce_exccat_exclude_types', function( $exclude_types ) { | |
//Return an array of document types where all items should be invoiced and not excluded by category or tag | |
return array( | |
'transport_guide' | |
); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment