My state does not charge sales tax for services (my events are services) and I would like to use the following snippit (which I found in another discussion) to disable sales tax in my events calendar, but I don’t know how to use it…any direction you could provide would be great!
add_action( ‘event_tickets_after_save_ticket’, ‘tribe_disable_taxes_ticket_product’, 10, 2 );
function tribe_disable_taxes_ticket_product( $post_id, $ticket ) {
update_post_meta( $ticket->ID, ‘_tax_status’, ‘none’ );
update_post_meta( $ticket->ID, ‘_tax_class’, ‘zero-rate’ );
}