Ok, after some time spent on trying, I finally find out that the right way to display the customer checkout comment is selecting ...
File name: woocommerce/includes/class-wc-order.php. Lines: 1 to 24 of 24. public function get_customer_order_notes() { $notes = array(); ...
Order notes (private note) are only available for backend when using get_comments() function. If you look at WC_Comments ...
woocommerce - add order notes to completed emails. GitHub Gist: instantly share code, notes, and snippets.
get_customer_order_notes() public method · class="woocommerce-error"> · href ="' . get_permalink(woocommerce_get_page_id('myaccount')) . '"> · > · > · class=" ...
Требует, WP 5.4+. Проверен на, WP 5.6.1. Требует, PHP 7.0+. Создан, 9.3 лет назад. Версии. 141 · 140 · 139 · · · · ·. WP-CLI, wp plugin install woocommerce ...
The order notes are saved as post comments, so you can use the WordPress function get_comments() to get the last note: $args = array( ...
This seems simple: there is a function “get_customer_order_notes()”. Strangely this function does not return the order notes at all. An empty ...
90%. Version, 4.9.2 Changelog. Updated, 13 days ago. Activated on, 5 000 000+ sites. Links, wordpress.org woocommerce.com. Download. Author, Automattic.