Coupon_Handler implements Registerable, Standard_Service

Handles the WooCommerce coupon status

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

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
Tags
Return values
mixed

Search results