Automattic\WooCommerce\Internal\Admin\EmailPreview

PreviewOrder::get_customer_order_notes │ public │ WC 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".

Метод класса: PreviewOrder{}

Хуков нет.

Возвращает

array.

Использование

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

Код PreviewOrder::get_customer_order_notes() WC 11.2.2

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