WC_Legacy_Cart::remove_taxes
Deprecated since 3.2.0. It is no longer supported and may be removed in future releases. Use
d
instead.Remove taxes.
Method of the class: WC_Legacy_Cart{}
No Hooks.
Returns
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() WC Legacy Cart::remove taxes code WC 9.9.3
public function remove_taxes() { wc_deprecated_function( 'WC_Cart::remove_taxes', '3.2', '' ); }