woocommerce_price_ex_tax_amount, $tax_amount, $key, $rate, $price, $the_price_inc_tax, $pre_compound_total

woocommerce_price_ex_tax_amount, $tax_amount, $key, $rate, $price, $the_price_inc_tax, $pre_compound_total

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_price_ex_tax_amount, $tax_amount, $key, $rate, $price, $the_price_inc_tax, $pre_compound_total') is found 1 times:

  • /includes/class-wc-tax.php line 210
    					continue;
    				}
    				$the_price_inc_tax = $price + $pre_compound_total;
    				$tax_amount        = $the_price_inc_tax * ( floatval( $rate['rate'] ) / 100 );
    				$tax_amount        = apply_filters( 'woocommerce_price_ex_tax_amount', $tax_amount, $key, $rate, $price, $the_price_inc_tax, $pre_compound_total ); // ADVANCED: Allow third parties to modify this rate.
    
    				if ( ! isset( $taxes[ $key ] ) ) {
    					$taxes[ $key ] = (float) $tax_amount;
    				} else {
    					$taxes[ $key ] += (float) $tax_amount;
    				}