WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports\Customers

DataStore::delete_customer() public WC 1.0

Delete a customer lookup row.

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

Return

null. Nothing.

Usage

$result = DataStore::delete_customer( $customer_id );
$customer_id(int) (required)
Customer ID.

Code of DataStore::delete_customer() WC 5.3.0

<?php
public static function delete_customer( $customer_id ) {
	global $wpdb;

	$customer_id = (int) $customer_id;
	$num_deleted = $wpdb->delete( self::get_db_table_name(), array( 'customer_id' => $customer_id ) );

	if ( $num_deleted ) {
		/**
		 * Fires when a customer is deleted.
		 *
		 * @param int $order_id Order ID.
		 */
		do_action( 'woocommerce_analytics_delete_customer', $customer_id );

		ReportsCache::invalidate();
	}
}