Use $order->get_order_number(); ?
-
Hi
Just wondering if you use $order->get_order_number(); rather than $order->id; when referencing the order number in your code? I’m looking to add a Sequential Order Numbers plugin and apparently they need it to be written as $order->get_order_number(); so that the numbers match up everywhere.
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Use $order->get_order_number(); ?’ is closed to new replies.