packages/woocommerce-admin/src/API/Reports/Customers/DataStore.php:
DataStore::get_customer_order_data_and_format()
|
Returns a data object and format object of the customers data coming from the order.
|
packages/woocommerce-blocks/src/StoreApi/Utilities/OrderController.php:
OrderController::sync_customer_data_with_order()
|
Copies order data to customer object (not the session), so values persist for future checkouts.
|
includes/class-wc-cache-helper.php:
WC_Cache_Helper::geolocation_ajax_get_location_hash()
|
Get a hash of the customer location.
|
includes/legacy/api/v2/class-wc-api-customers.php:
WC_API_Customers::create_customer()
|
Create a customer
|
includes/legacy/api/v2/class-wc-api-customers.php:
WC_API_Customers::edit_customer()
|
Edit a customer
|
includes/legacy/api/v2/class-wc-api-customers.php:
WC_API_Customers::get_customer()
|
Get the customer for the given ID
|
includes/class-wc-ajax.php:
WC_AJAX::json_search_customers()
|
Search for customers and return json.
|
includes/class-wc-ajax.php:
WC_AJAX::get_customer_details()
|
Get customer details via ajax.
|
includes/class-wc-privacy-exporters.php:
WC_Privacy_Exporters::get_customer_personal_data()
|
Get personal data (key/value pairs) for a user object.
|
includes/class-woocommerce.php:
WooCommerce::initialize_cart()
|
Initialize the customer and cart objects and setup customer saving on shutdown.
|
includes/class-wc-post-data.php:
WC_Post_Data::before_delete_order()
|
Before deleting an order, do some cleanup.
|
includes/class-wc-form-handler.php:
WC_Form_Handler::save_account_details()
|
Save the password/account details and redirect back to the my account page.
|
includes/class-wc-form-handler.php:
WC_Form_Handler::save_address()
|
Save and and update a billing or shipping address if the form was submitted through the user account page.
|
includes/wc-user-functions.php:
wc_get_customer_last_order()
|
Get info about customer’s last order.
|
includes/wc-user-functions.php:
wc_get_customer_total_spent()
|
Get total spent by customer.
|
includes/wc-user-functions.php:
wc_get_customer_order_count()
|
Get total orders by customer.
|
includes/wc-user-functions.php:
wc_paying_customer()
|
Order payment completed – This is a paying customer.
|
includes/class-wc-checkout.php:
WC_Checkout::get_value()
|
Gets the value either from POST, or from the customer object. Sets the default values in checkout fields.
|
includes/class-wc-checkout.php:
WC_Checkout::process_customer()
|
Create a new customer account if needed.
|
includes/class-wc-privacy-erasers.php:
WC_Privacy_Erasers::customer_data_eraser()
|
Finds and erases customer data by email address.
|
packages/woocommerce-admin/src/API/Reports/Customers/DataStore.php:
DataStore::update_registered_customer()
|
Update the database with customer data.
|
packages/woocommerce-admin/src/API/Reports/Customers/DataStore.php:
DataStore::is_valid_customer()
|
Check if a user ID is a valid customer or other user role with past orders.
|
packages/woocommerce-admin/src/API/Reports/Downloads/Controller.php:
Controller::prepare_item_for_response()
|
Prepare a report object for serialization.
|
includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php:
WC_REST_Customers_V1_Controller::create_item()
|
Create a single customer.
|
includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php:
WC_REST_Customers_V1_Controller::update_item()
|
Update a single user.
|
includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php:
WC_REST_Customers_V1_Controller::delete_item()
|
Delete a single customer.
|
includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php:
WC_REST_Customers_V1_Controller::prepare_item_for_response()
|
Prepare a single customer output for response.
|
includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php:
WC_REST_Customers_V2_Controller::prepare_item_for_response()
|
Prepare a single customer output for response.
|