woocommerce_cart_contents_total

woocommerce_cart_contents_total

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_cart_contents_total') is found 1 times:

  • /includes/class-wc-cart.php line 1982
    	 *
    	 * @return string formatted price
    	 */
    	public function get_cart_total() {
    		return apply_filters( 'woocommerce_cart_contents_total', wc_price( wc_prices_include_tax() ? $this->get_cart_contents_total() + $this->get_cart_contents_tax() : $this->get_cart_contents_total() ) );
    	}
    
    	/**
    	 * Gets the sub total (after calculation).
    	 *
    	 * @param bool $compound whether to include compound taxes.