How to retrieve a custom billing field from the $order object?
-
Hello,
I use this line of code to get the value of the ‘billing first name’ from the $order object: $order->get_billing_first_name()
No problem with this.
But I added a custom field in the checkout billing form with this name ‘TX Number’. Then my question is: Is there a way to retrieve the value of this custom field out of the $order object. Something like: $order->get_my_custom_tx_number() or any other way to print out the custom field value from the $order object.
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to retrieve a custom billing field from the $order object?’ is closed to new replies.