_wpsc_action_setup_customer

Setup current user object and customer ID as well as cart.

Description

(int) _wpsc_action_setup_customer(); 

Returns (int)

visitor id


Usage

  1. if ( !function_exists( '_wpsc_action_setup_customer' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-ecommerce/wpsc-includes/customer-private.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = _wpsc_action_setup_customer(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wpsc-includes/customer-private.php