shopp_rmv_customer()

remove a customer

shopp_rmv_customer (  $customer )

@param int $customer (required) id of the customer to remove
@return bool true on success, false on failure

Description

remove a customer

Example

// get the wordpress user
$user = get_user_by('login', 'mylogin');

// get the customer for the user
$customer = shopp_customer($user->ID, 'wpuser');

// remove the customer record
shopp_rmv_customer($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