WooCommerce Bookings Plugin Not Saving Order ID
A minor update (I ran into this issue today): The above solution does not work anymore. The only thing you need to do nowadays is to set the post_parent: wp_update_post(array( ‘ID’ => $booking->id, ‘post_parent’ => $order->id ));