woocommerce_cart_total

woocommerce_cart_total

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_cart_total') is found 1 times:

  • /includes/class-wc-cart.php line 293
    	 * @return float|string
    	 */
    	public function get_total( $context = 'view' ) {
    		$total = apply_filters( 'woocommerce_cart_' . __FUNCTION__, $this->get_totals_var( 'total' ) );
    		return 'view' === $context ? apply_filters( 'woocommerce_cart_total', wc_price( $total ) ) : $total;
    	}
    
    	/**
    	 * Get total tax amount.
    	 *
    	 * @since 3.2.0