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.

Return

null. Nothing (null).

Usage

$WC_Legacy_Cart = new WC_Legacy_Cart();
$WC_Legacy_Cart->remove_taxes();

Changelog

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', '' );
}