WC_Cart::get_total_ex_tax()

Gets the total excluding taxes.


Description Description


Return Return

(string) formatted price


Top ↑

Source Source

File: includes/class-wc-cart.php

	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() ) ) );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.