WC_Legacy_Coupon::inc_usage_count
Increase usage count for current coupon.
Метод класса: WC_Legacy_Coupon{}
Хуков нет.
Возвращает
null. Ничего (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 11.3.0
public function inc_usage_count( $used_by = '' ) {
$this->increase_usage_count( $used_by );
}