
FEEDBACK FORM – EXOCAD BEGINNERS COURSE From blackboard to digitalBristol CADCAM Team2022-03-03T16:48:22+00:00

/** * Remove tax for specific roles */ function prefix_exclude_tax_by_role() { if( function_exists( 'WC' ) ) { if( isset( WC()->customer ) ) { $role = WC()->customer->get_role(); if( $role == 'customer_ALS' ) { WC()->customer->set_is_vat_exempt( true ); } else { WC()->customer->set_is_vat_exempt( false ); } } } } add_action( 'wp', 'prefix_exclude_tax_by_role' );
Skip to content