Automattic\WooCommerce\Internal\Admin\Schedulers

CustomersScheduler::import()public staticWC 1.0

Imports a single customer.

Метод класса: CustomersScheduler{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = CustomersScheduler::import( $user_id );
$user_id(int) (обязательный)
User ID.

Код CustomersScheduler::import() WC 8.7.0

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