WC_Order_Data_Store_CPT::get_new_order_email_sent()publicWC 1.0

Whether email have been sent for this order.

Method of the class: WC_Order_Data_Store_CPT{}

No Hooks.

Return

true|false. Whether email is sent.

Usage

$WC_Order_Data_Store_CPT = new WC_Order_Data_Store_CPT();
$WC_Order_Data_Store_CPT->get_new_order_email_sent( $order );
$order(WC_Order|int) (required)
Order ID or order object.

WC_Order_Data_Store_CPT::get_new_order_email_sent() code WC 9.4.2

public function get_new_order_email_sent( $order ) {
	return $this->get_email_sent( $order );
}