WC_Legacy_Coupon::inc_usage_count() public WC 1.0
Increase usage count for current coupon.
{} Это метод класса: WC_Legacy_Coupon{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$WC_Legacy_Coupon = new WC_Legacy_Coupon(); $WC_Legacy_Coupon->inc_usage_count( $used_by );
- $used_by(строка)
- Either user ID or billing email
Код WC_Legacy_Coupon::inc_usage_count() WC Legacy Coupon::inc usage count WC 5.0.0
public function inc_usage_count( $used_by = '' ) {
$this->increase_usage_count( $used_by );
}