Getting the custom order number
-
Hi,
I am trying to get the custom order number with this code without any success;$order = new WC_Order($order_id);
$order_id = $order->get_order_number()Could you please guive me a hint to get the custom order number from the woocommerce $order_id
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Getting the custom order number’ is closed to new replies.