WC_Coupon::set_usage_limit_per_user( int $usage_limit )

Set the amount of times this coupon can be used per user.


Description Description


Parameters Parameters

$usage_limit

(Required) Usage limit.


Top ↑

Source Source

File: includes/class-wc-coupon.php

	public function set_usage_limit_per_user( $usage_limit ) {
		$this->set_prop( 'usage_limit_per_user', absint( $usage_limit ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.