Automattic\WooCommerce\Internal\Admin\Schedulers

CustomersScheduler::import()public staticWC 1.0

Imports a single customer.

Method of the class: CustomersScheduler{}

No Hooks.

Return

null. Nothing.

Usage

$result = CustomersScheduler::import( $user_id );
$user_id(int) (required)
User ID.

CustomersScheduler::import() code WC 7.3.0

public static function import( $user_id ) {
	CustomersDataStore::update_registered_customer( $user_id );
}