For details on what the action hooks and filters do, reference the WooCommerce Hooks ...
Ok I found a solution and i post it here for anyone else searching for this. add_action('woocommerce_before_order_itemmeta' ...
The hooks that are used before the product summary in the order ... There is a number possible hooks here and that's why we've divided them into several ...
Action and Filter Hook Reference. This is simply a
How to get WooCommerce order details. The code is tested and works. Updated (to get the product Id from Orders items as asked in your ...
From your account dashboard you can view your recent orders, manage your shipping and billing addresses and edit your password and account details.
woocommerce_view_order action hook is for the View Order page,
* Action hook fired after the order details. *. * @since 4.4.0. * @param WC_Order $order Order data ...
that this hook has the only one argument – $old_title , but what about order details?
For this three possibilities: If you really want to do it on order place you would have to use the hook: woocommerce_new_order. However I ...