How to get the order ID in the order-received and view-order page?
For my Fancy Product Designer plugin I need to get the order ID in the order-received page and view-order page. Woocommerce offers a filter hook to get the ordered item link: woocommerce_order_item_name, which is currently not documented in the filter hooks reference.