WordPress at Your Fingertips
function is not described

WC_Legacy_Cart::remove_taxes() public WC 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.

{} It's a method of the class: WC_Legacy_Cart{}

No Hooks.


null. Nothing.


$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.

Code of WC_Legacy_Cart::remove_taxes() WC 5.7.1

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