Call to undefined function
-
Hi,
I am following the documentation and trying to retrieve the order details based on the Sequential Order Numner.
When I execute the code:
$order_id = wc_sequential_order_numbers()->find_order_by_order_number( $order_number );
I receive the following error:
Call to undefined function wc_sequential_order_numbers()I am trying to run this on a custom PHP page. All other WooCommerce functions work.
Can you please assist?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Call to undefined function’ is closed to new replies.