WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports\Revenue\Stats

Controller::get_export_items() public WC 1.0

Get report items for export.

Returns only the interval data.

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

No Hooks.

Return

WP_REST_Response. Nothing.

Usage

$Controller = new Controller();
$Controller->get_export_items( $request );
$request(WP_REST_Request) (required)
Request data.

Code of Controller::get_export_items() WC 5.3.0

<?php
public function get_export_items( $request ) {
	$response  = $this->get_items( $request );
	$data      = $response->get_data();
	$intervals = $data['intervals'];

	$response->set_data( $intervals );

	return $response;
}