Last active
April 24, 2018 15:55
-
-
Save Longkt/074c8901d20cb2ace63f32a6fe48bc21 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$order = new WC_Order(206); // Order id | |
$billing_address = $order->get_address('billing'); | |
echo "<pre>"; | |
print_r($billing_address); | |
echo "</pre>"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment