Automattic\WooCommerce\Admin\API

Customers::prepare_reports_query()protectedWC 1.0

Maps query arguments from the REST request.

Method of the class: Customers{}

No Hooks.

Return

Array.

Usage

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

Customers::prepare_reports_query() code WC 9.3.3

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