Created
March 2, 2016 13:51
-
-
Save jesseeproductions/787c47f1756a18d8c05d to your computer and use it in GitHub Desktop.
Revisions
-
jesseeproductions created this gist
Mar 2, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ /** * 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' ); }