WC_Order_Data_Store_CPT::set_new_order_email_sent()
Stores information about whether email was sent.
Method of the class: WC_Order_Data_Store_CPT{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Order_Data_Store_CPT = new WC_Order_Data_Store_CPT(); $WC_Order_Data_Store_CPT->set_new_order_email_sent( $order, $set );
- $order(WC_Order|int) (required)
- Order ID or order object.
- $set(true|false) (required)
- True or false.
WC_Order_Data_Store_CPT::set_new_order_email_sent() WC Order Data Store CPT::set new order email sent code WC 9.4.2
public function set_new_order_email_sent( $order, $set ) { $this->set_email_sent( $order, $set ); }