You can fetch shipping address by using WC_Order object and get_shipping_address() from order id.
Use the following code to fetch shipping address from order ID.

$order = new WC_Order( $order_id );
$shipping_address=$order->get_shipping_address();

Have any doubt, then comment here!

Leave a Reply

Your email address will not be published. Required fields are marked *