WC_Legacy_Cart::coupons_enabled()publicWC 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.

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 since 2.5.0

WC_Legacy_Cart::coupons_enabled() code WC 8.7.0

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