WC_Legacy_Coupon::inc_usage_count()publicWC 1.0

Increase usage count for current coupon.

Method of the class: WC_Legacy_Coupon{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Legacy_Coupon = new WC_Legacy_Coupon();
$WC_Legacy_Coupon->inc_usage_count( $used_by );
$used_by(string)
Either user ID or billing email
Default: ''

WC_Legacy_Coupon::inc_usage_count() code WC 8.6.1

public function inc_usage_count( $used_by = '' ) {
	$this->increase_usage_count( $used_by );
}