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