WordPress at Your Fingertips
function is not described

WC_Legacy_Coupon::inc_usage_count() public WC 1.0

Increase usage count for current coupon.

{} It's a method of the class: WC_Legacy_Coupon{}

No Hooks.

Return

null. Nothing.

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: ''

Code of WC_Legacy_Coupon::inc_usage_count() WC 5.7.1

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