Class WC_Customer_Data_Store
WC Customer Data Store.
- WC_Data_Store_WP
-
WC_Customer_Data_Store 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.php
Author: WooThemes
Version: 3.0.0
Located at data-stores/class-wc-customer-data-store.php
Methods summary
protected
boolean
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
integer
|
|
public
float
|
|
public
array
|
#
search_customers( string $term, integer|string $limit = '' )
Search customers and return customer IDs. |
Methods inherited from WC_Data_Store_WP
add_meta()
,
delete_meta()
,
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
|
$internal_meta_keys
Data stored in meta keys, but not considered "meta". |
#
array(
'locale',
'billing_postcode',
'billing_city',
'billing_address_1',
'billing_address_2',
'billing_state',
'billing_country',
'shipping_postcode',
'shipping_city',
'shipping_address_1',
'shipping_address_2',
'shipping_state',
'shipping_country',
'paying_customer',
'last_update',
'first_name',
'last_name',
'display_name',
'show_admin_bar_front',
'use_ssl',
'admin_color',
'rich_editing',
'comment_shortcuts',
'dismissed_wp_pointers',
'show_welcome_panel',
'session_tokens',
'nickname',
'description',
'billing_first_name',
'billing_last_name',
'billing_company',
'billing_phone',
'billing_email',
'shipping_first_name',
'shipping_last_name',
'shipping_company',
'wptests_capabilities',
'wptests_user_level',
'syntax_highlighting',
'_order_count',
'_money_spent',
)
|
protected
string
|
$meta_type
Internal meta type used to store user data. |
#
'user'
|