I’ve seenĀ posts and documentation online for how to get just the customer notes for an order, but no great ones for how to get all WooCommerce order notes. Here’s my solution for that:

You just pass that function the order ID (post ID) for any order and it returns an array of all the notes, or an empty array if there are none.

Leave a reply

Your email address will not be published. Required fields are marked *