Get address fields from customer area user
Custom user data from the WP Customer Area plugin from WordPress options
table:
get_option('cuar_owner_addresses|usr|' . get_current_user_id());
Returns an array if options is found:
Array
(
[home_address] => Array
(
[name] =>
[company] =>
[vat_number] =>
[logo_url] =>
[line1] =>
[line2] =>
[zip] =>
[city] =>
[country] =>
[state] =>
)
[billing_address] => Array
(
[name] =>
[company] =>
[vat_number] =>
[logo_url] =>
[line1] =>
[line2] =>
[zip] =>
[city] =>
[country] =>
[state] =>
)
)