WC_Legacy_Cart::coupons_enabled() public WC 1.0
Deprecated from version 2.5.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.╳
Coupons enabled function. Filterable.
{} It's a method of the class: WC_Legacy_Cart{}
No Hooks.
Return
true/false.
Usage
$WC_Legacy_Cart = new WC_Legacy_Cart(); $WC_Legacy_Cart->coupons_enabled();
Changelog
Deprecated | 2.5.0 |
Code of WC_Legacy_Cart::coupons_enabled() WC Legacy Cart::coupons enabled WC 5.0.0
public function coupons_enabled() {
wc_deprecated_function( 'WC_Legacy_Cart::coupons_enabled', '2.5.0', 'wc_coupons_enabled' );
return wc_coupons_enabled();
}