CustomersScheduler
CustomersScheduler Class.
Description Description
Source Source
File: packages/woocommerce-admin/src/Schedulers/CustomersScheduler.php
Methods Methods
- anonymize — Anonymize the customer data for a single order.
- delete — Delete a batch of customers.
- delete_user — Delete the customer data for a single user.
- exclude_existing_customers_from_query — Exclude users that already exist in our customer lookup table.
- get_dependencies — Add customer dependencies.
- get_items — Get the customer IDs and total count that need to be synced.
- get_scheduler_actions — Get all available scheduling actions.
- get_total_imported — Get total number of rows imported.
- import — Imports a single customer.
- init — Attach customer lookup update hooks.
- schedule_anonymize — Schedule an action to anonymize a single Order.
- schedule_import — Schedule import.
- schedule_import_via_last_active — Schedule an import if the "last active" meta value was changed.
- schedule_user_delete — Schedule an action to delete a single User.