Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::get_new_order_email_sent()publicWC 1.0

Helper setter for email_sent.

Method of the class: OrdersTableDataStore{}

No Hooks.

Return

true|false. Whether email was sent.

Usage

$OrdersTableDataStore = new OrdersTableDataStore();
$OrdersTableDataStore->get_new_order_email_sent( $order );
$order(\WC_Order) (required)
Order object.

OrdersTableDataStore::get_new_order_email_sent() code WC 8.9.0

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