WC_Abstract_Order::set_recorded_coupon_usage_counts()
Stores information about whether the coupon usage were counted.
Метод класса: WC_Abstract_Order{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Abstract_Order = new WC_Abstract_Order(); $WC_Abstract_Order->set_recorded_coupon_usage_counts( $value );
- $value(true|false|строка) (обязательный)
- True if counted, false if not.
Код WC_Abstract_Order::set_recorded_coupon_usage_counts() WC Abstract Order::set recorded coupon usage counts WC 9.4.2
public function set_recorded_coupon_usage_counts( $value ) { $this->set_prop( 'recorded_coupon_usage_counts', wc_string_to_bool( $value ) ); }