Coupon_Handler implements Registerable, Standard_Service
Handles the WooCommerce coupon status
Tags
Interfaces, Classes and Traits
- Registerable
- Standard_Service
Table of Contents
- disable_coupons() : bool
- Disable WooCommerce coupons
- register() : mixed
- {@inheritdoc}
Methods
disable_coupons()
Disable WooCommerce coupons
public
disable_coupons(bool $enabled) : bool
Parameters
- $enabled : bool
Tags
Return values
bool —$enabled
register()
{@inheritdoc}
public
register() : mixed