WooCommerce is a popular e-commerce plugin for WordPress that allows users to easily create and manage an online store. The WooCommerce Bookings extension is an add-on for WooCommerce that allows customers to book appointments or reserve products. It allows you to set up products that can be booked, such as hotel rooms, rental cars, or appointments with a service provider.
get_customer_note() function is a WooCommerce function that retrieves the customer’s note for a specific order. It takes one parameter, the order ID, and returns the customer’s note as a string. This function can be used to display the customer’s note on the order details page in the admin area, or to send it to the customer in an email or receipt.
Last modified: March 3, 2023