Class WC_Customer_Data_Store_Session
WC Customer Data Store which stores the data in session.
- WC_Data_Store_WP
-
WC_Customer_Data_Store_Session implements WC_Customer_Data_Store_Interface, WC_Object_Data_Store_Interface
Category:
Class
Author: WooThemes
Version: 3.0.0
Located at data-stores/class-wc-customer-data-store-session.php
Author: WooThemes
Version: 3.0.0
Located at data-stores/class-wc-customer-data-store-session.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
#
read(
Read customer data from the session unless the user has logged in, in which case the stored ID will differ from the actual ID. |
protected
|
|
public
boolean
|
|
public
|
|
public
integer
|
|
public
float
|
Methods inherited from WC_Data_Store_WP
add_meta()
,
delete_meta()
,
exclude_internal_meta_keys()
,
get_db_info()
,
get_internal_meta_keys()
,
get_props_to_update()
,
get_term_ids()
,
get_wp_query_args()
,
parse_date_for_wp_query()
,
prefix_key()
,
read_meta()
,
update_meta()
Properties summary
protected
array
|
$session_keys
Keys which are also stored in a session (so we can make sure they get updated...) |
#
array(
'id',
'date_modified',
'billing_postcode',
'billing_city',
'billing_address_1',
'billing_address',
'billing_address_2',
'billing_state',
'billing_country',
'shipping_postcode',
'shipping_city',
'shipping_address_1',
'shipping_address',
'shipping_address_2',
'shipping_state',
'shipping_country',
'is_vat_exempt',
'calculated_shipping',
'billing_first_name',
'billing_last_name',
'billing_company',
'billing_phone',
'billing_email',
'shipping_first_name',
'shipping_last_name',
'shipping_company',
)
|