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