Getting the customer order notes for a WooCommerce order

For the WooCommerce Moneybird plugin I recently needed to retrieve the customer order notes which a user can add during the checkout procedure. This seems simple: there is a function “get_customer_order_notes()”.  Strangely this function does not return the order notes at all. An empty array is returned. This function seems to look into the comments, […]

Exclude pages from caching based on post type

To improve site speed for a website I often use WP Rocket: I think it’s one of the fastest caching plugins for WordPress. When a page is being cached, it’s actually saved in a separate folder as a html file. This way, the website doesn’t have to create the page from the php code: there’s […]