WC_Legacy_Cart::coupons_enabledpublicWC 1.0

Deprecated since 2.5.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Coupons enabled function. Filterable.

Method of the class: WC_Legacy_Cart{}

No Hooks.

Returns

true|false.

Usage

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

Changelog

Deprecated since 2.5.0

WC_Legacy_Cart::coupons_enabled() code WC 9.9.3

public function coupons_enabled() {
	wc_deprecated_function( 'WC_Legacy_Cart::coupons_enabled', '2.5.0', 'wc_coupons_enabled' );
	return wc_coupons_enabled();
}