shopp_customer_addresses()

get list of addresses for a customer

shopp_customer_addresses (  $customer  )

@param int $customer (required) the customer id
@return array list of addresses

Description

get list of addresses for a customer

Example

// get the current customer
$customer = shopp_customer();

// get an array of address objects for this customer
$addresses = shopp_customer_addresses ($customer->id);

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar