Bulk edit orders to ‘wc-processing’ status
This code works to change to order status to processing: $order = new WC_Order( $order_id ); if ( ! empty( $order ) ) { $order->update_status( ‘processing’ ); } So you’ll need to query all orders by ID and use that code in a loop, like so: $query = new WC_Order_Query( array( ‘limit’ => -1, ‘return’ … Read more