I can add an order note (private note) with:


But when i tried to get the values in some page with:

get_comments(['post_id' => $order_id])
// or

It simply returns an empty array. I googled this and i can’t find the method to do it.

Read more here: How do i get Order Notes from a Woocommerce Order / WC_Order object?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: