WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

Customers::prepare_reports_query() protected WC 1.0

Maps query arguments from the REST request.

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

No Hooks.

Return

Array. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->prepare_reports_query( $request );
$request(array) (required)
Request array.

Code of Customers::prepare_reports_query() WC 5.3.0

<?php
protected function prepare_reports_query( $request ) {
	$args              = parent::prepare_reports_query( $request );
	$args['customers'] = $request['include'];
	return $args;
}