Automattic\WooCommerce\Internal\Admin\EmailPreview

PreviewOrder::get_customer_order_notespublicWC 1.0

A preview order has no customer notes. The parent passes the id straight to get_comments(), which treats id 0 as "return every order note".

Method of the class: PreviewOrder{}

No Hooks.

Returns

Array.

Usage

$PreviewOrder = new PreviewOrder();
$PreviewOrder->get_customer_order_notes();

PreviewOrder::get_customer_order_notes() code WC 10.9.1

public function get_customer_order_notes() {
	return array();
}