You can use $order_id as a parameter for your woocommerce_new_order callback and get the order details from the $order_id . Example:
... Documentation · Get Involved. Search for: Search forums. Support » Plugin: WooCommerce » Question regarding “woocommerce_new_order” hook ...
Javascript not working written inside woocommerce woocommerce_new_order hook inside function. php · 1 You need after successful checkout ...
Try woocommerce_thankyou hook. This will trigger after recieving order successfully, no matter how user made payment. $hook_to = ' woocommerce_thankyou' ...
The WooCommerce woocommerce new order hook. Description. do_action( ' woocommerce_new_order', (unknown) $order_get_id );. Parameters ...
The hook which is triggered when a new order object is created is
woocommerce_new_order. The WordPress Core woocommerce new order hook. Description. add_action( 'woocommerce_new_order', ...
... to be fired. Is there another hook I should be using for admin-created orders?
Action and Filter Hook Reference
Hooks in WordPress essentially allow you to change or add code without editing core files. They are used extensively throughout WordPress and WooCommerce ...