I am using Woocommerce checkout field editor and created several billing fields with name billing_*. For example billing_street, billing_town, billing_avenue, etc other than billing_address_1 and billing_address_2 which are predefined.
But while calling $order->get_formatted_billing_address(); I am getting only billing_address_1 and billing_address_2.
Is there any way of calling all the value of the fields with the name billing_* in woocommerce.
Here's what I tried:
$order->get_billing_address();
But it didn't work!
Thank you in advance!
Screenshot: Screenshot
This is the output I got: Screeshot 2
At the same time,the other fields are showing in the orders page, but not as billing details. like here 