woocommerce_cart_subtotal filter-hookWC 1.0

Usage

add_filter( 'woocommerce_cart_subtotal', 'wp_kama_woocommerce_cart_subtotal_filter', 10, 3 );

/**
 * Function for `woocommerce_cart_subtotal` filter-hook.
 * 
 * @param  $cart_subtotal 
 * @param  $compound      
 * @param  $that          
 *
 * @return 
 */
function wp_kama_woocommerce_cart_subtotal_filter( $cart_subtotal, $compound, $that ){

	// filter...
	return $cart_subtotal;
}
$cart_subtotal
-
$compound
-
$that
-

Where the hook is called

WC_Cart::get_cart_subtotal()
woocommerce_cart_subtotal
woocommerce/includes/class-wc-cart.php 2012
return apply_filters( 'woocommerce_cart_subtotal', $cart_subtotal, $compound, $this );

Where the hook is used in WooCommerce

Usage not found.