Skip to content

Instantly share code, notes, and snippets.

@jesseeproductions
Created March 2, 2016 13:51
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save jesseeproductions/787c47f1756a18d8c05d to your computer and use it in GitHub Desktop.
Save jesseeproductions/787c47f1756a18d8c05d to your computer and use it in GitHub Desktop.
Event Tickets Plus - Disable Taxes for Ticket Products
/**
* Event Tickets Plus - Disable Taxes for Ticket Products
*/
add_action( 'wootickets_after_save_ticket', 'tribe_disable_taxes_ticket_product' );
function tribe_disable_taxes_ticket_product( $ticket_id ) {
update_post_meta( $ticket_id, '_tax_status', 'none' );
update_post_meta( $ticket_id, '_tax_class', 'zero-rate' );
}
Copy link

ghost commented Jun 28, 2021

I used the event_tickets_after_save_ticket one today from the 12/5/17 post and it fixed the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment