WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Schedulers

CustomersScheduler::delete_user() public WC 1.0

Delete the customer data for a single user.

{} It's a method of the class: CustomersScheduler{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of CustomersScheduler::delete_user() WC 5.2.2

<?php
public static function delete_user( $user_id ) {
	CustomersDataStore::delete_customer_by_user_id( $user_id );
}