You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm greatly interested in your project, since I have orders from a WooCommerce shop to batch process, but I can't make it work...
When defining the setup() method, neither $orders = get_posts([ "post_type" => "shop_order" ]); nor $orders = get_orders(); seem to retrieve anything. error_log( print_r( $orders ) ); always prints an empty array...
I'm probably doing something wrong, but what? Is there any other info I can give you to help me debug that, if the problem comes from me?
Thanks by advance!
The text was updated successfully, but these errors were encountered:
Hey, I'm greatly interested in your project, since I have orders from a WooCommerce shop to batch process, but I can't make it work...
When defining the
setup()
method, neither$orders = get_posts([ "post_type" => "shop_order" ]);
nor$orders = get_orders();
seem to retrieve anything.error_log( print_r( $orders ) );
always prints an empty array...I'm probably doing something wrong, but what? Is there any other info I can give you to help me debug that, if the problem comes from me?
Thanks by advance!
The text was updated successfully, but these errors were encountered: