Created
September 11, 2024 14:33
-
-
Save dennisnissle/c3970bdb4e60c3c591f413fc18974738 to your computer and use it in GitHub Desktop.
Support additional/custom order item types for invoices
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( 'storeabill_woo_order_item_types_to_sync', function( $item_types ) { | |
$item_types[] = 'course'; | |
return $item_types; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment