woocommerce_price_ex_tax_amount, $tax_amount, $key, $rate, $price
woocommerce_price_ex_tax_amount, $tax_amount, $key, $rate, $price
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_price_ex_tax_amount, $tax_amount, $key, $rate, $price') is found 1 times:
- /includes/class-wc-tax.php line 192
continue; } $tax_amount = $price * ( floatval( $rate['rate'] ) / 100 ); $tax_amount = apply_filters( 'woocommerce_price_ex_tax_amount', $tax_amount, $key, $rate, $price ); // ADVANCED: Allow third parties to modify this rate. if ( ! isset( $taxes[ $key ] ) ) { $taxes[ $key ] = (float) $tax_amount; } else { $taxes[ $key ] += (float) $tax_amount; }