Created
June 29, 2020 11:40
-
-
Save webdados/9da3ea4cf7732bfffa9a3f97e107bf94 to your computer and use it in GitHub Desktop.
Add possible statuses to InvoiceXpress for WooCommerce automatic invoicing
This file contains hidden or 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_automatic_invoice_possible_status', function( $statuses ) { | |
$statuses[] = 'wc-picking'; | |
$statuses[] = 'wc-another-one-bites-the-dust'; | |
return $statuses; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment