woocommerce_cart_subtotal filter-hook . WC 1.0
Usage
add_filter( 'woocommerce_cart_subtotal', 'filter_function_name_2393', 10, 3 ); function filter_function_name_2393( $cart_subtotal, $compound, $that ){ // filter... return $cart_subtotal; }
- $cart_subtotal
- -
- $compound
- -
- $that
- -
Where the hook is called
woocommerce_cart_subtotal
woocommerce/includes/class-wc-cart.php 1967
return apply_filters( 'woocommerce_cart_subtotal', $cart_subtotal, $compound, $this );