MemberPress: Change Country VAT Rate for a Certain Membership
function mepr_cust_tax_rate( $tax_rate, $country, $prd_id ) { // If Membership ID 14 and country is Germany ‘DE’ if ( $prd_id === 123 && $country === ‘DE’ ) { $tax_rate->tax_rate = 0; // Set tax rate to 0 } return $tax_rate;…Continue reading