WC_Legacy_Cart::remove_taxes()
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.
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 7.7.0
public function remove_taxes() { wc_deprecated_function( 'WC_Cart::remove_taxes', '3.2', '' ); }