WC_Legacy_Cart::remove_taxes()publicWC 1.0

Deprecated from version 3.2.0. It is no longer supported and can be removed in future releases. Use d instead.

Remove taxes.

Method of the class: WC_Legacy_Cart{}

No Hooks.


null. Nothing (null).


$WC_Legacy_Cart = new WC_Legacy_Cart();


Deprecated since 3.2.0 Taxes are never calculated if customer is tax except making this function unused.

WC_Legacy_Cart::remove_taxes() code WC 9.0.1

public function remove_taxes() {
	wc_deprecated_function( 'WC_Cart::remove_taxes', '3.2', '' );