WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports\Import

Controller::prepare_objects_query() protected WC 1.0

Prepare request object as query args.

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

No Hooks.

Return

Array. Nothing.

Usage

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

Code of Controller::prepare_objects_query() WC 5.3.0

<?php
protected function prepare_objects_query( $request ) {
	$args                  = array();
	$args['skip_existing'] = $request['skip_existing'];
	$args['days']          = $request['days'];

	return $args;
}