You are here

function uc_store_address in Ubercart 7.3

Same name and namespace in other branches
  1. 8.4 uc_store/uc_store.module \uc_store_address()
  2. 5 uc_store/uc_store.module \uc_store_address()
  3. 6.2 uc_store/uc_store.module \uc_store_address()

Returns the user-defined store address.

1 call to uc_store_address()
uc_store_tokens in uc_store/uc_store.tokens.inc
Implements hook_tokens().

File

uc_store/uc_store.module, line 1638
Contains global Ubercart functions and store administration functionality.

Code

function uc_store_address() {
  $store_address = uc_address_format(NULL, NULL, uc_store_name(), variable_get('uc_store_street1', NULL), variable_get('uc_store_street2', NULL), variable_get('uc_store_city', NULL), variable_get('uc_store_zone', NULL), variable_get('uc_store_postal_code', NULL), uc_store_default_country());
  return $store_address;
}