woocommerce_cart_total_ex_tax

woocommerce_cart_total_ex_tax

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_cart_total_ex_tax') is found 1 times:

  • /includes/class-wc-cart.php line 1973
    	 *
    	 * @return string formatted price
    	 */
    	public function get_total_ex_tax() {
    		return apply_filters( 'woocommerce_cart_total_ex_tax', wc_price( max( 0, $this->get_total( 'edit' ) - $this->get_total_tax() ) ) );
    	}
    
    	/**
    	 * Gets the cart contents total (after calculation).
    	 *
    	 * @return string formatted price