wc_round_tax_total хук-фильтр . WC 1.0
Использование
add_filter( 'wc_round_tax_total', 'filter_function_name_7656', 10, 4 ); function filter_function_name_7656( $rounded_tax, $value, $precision, $WC_TAX_ROUNDING_MODE ){ // filter... return $rounded_tax; }
- $rounded_tax
- -
- $value
- -
- $precision
- -
- $WC_TAX_ROUNDING_MODE
- -
Где вызывается хук
wc_round_tax_total
woocommerce/includes/wc-formatting-functions.php 240
return apply_filters( 'wc_round_tax_total', $rounded_tax, $value, $precision, WC_TAX_ROUNDING_MODE );