woocommerce_cart_shipping_total хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_cart_shipping_total', 'filter_function_name_5156', 10, 2 ); function filter_function_name_5156( $total, $that ){ // filter... return $total; }
- $total
- -
- $that
- -
Где вызывается хук
woocommerce_cart_shipping_total
woocommerce/includes/class-wc-cart.php 1574
return apply_filters( 'woocommerce_cart_shipping_total', $total, $this );