CustomersScheduler::schedule_import_via_last_active( int $meta_id, int $user_id, string $meta_key )
Schedule an import if the “last active” meta value was changed.
Description Description
Function expects to be hooked into the updated_user_meta
action.
Parameters Parameters
- $meta_id
-
(Required) ID of updated metadata entry.
- $user_id
-
(Required) ID of the user being updated.
- $meta_key
-
(Required) Meta key being updated.
Source Source
File: packages/woocommerce-admin/src/Schedulers/CustomersScheduler.php