Skip to content

Instantly share code, notes, and snippets.

@dennisnissle
Created September 11, 2024 14:33
Show Gist options
  • Save dennisnissle/c3970bdb4e60c3c591f413fc18974738 to your computer and use it in GitHub Desktop.
Save dennisnissle/c3970bdb4e60c3c591f413fc18974738 to your computer and use it in GitHub Desktop.
Support additional/custom order item types for invoices
<?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