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 (null).

Usage

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

CustomersScheduler::import() code WC 8.7.0

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