woocommerce_price_ex_tax_amount хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_price_ex_tax_amount', 'filter_function_name_310', 10, 4 ); function filter_function_name_310( $tax_amount, $key, $rate, $price ){ // filter... return $tax_amount; }
- $tax_amount
- -
- $key
- -
- $rate
- -
- $price
- -
Где вызывается хук
woocommerce_price_ex_tax_amount
woocommerce/includes/class-wc-tax.php 176
$tax_amount = apply_filters( 'woocommerce_price_ex_tax_amount', $tax_amount, $key, $rate, $price ); // ADVANCED: Allow third parties to modify this rate.
woocommerce/includes/class-wc-tax.php 194
$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.