DataStore::create_interval_subtotals( array $intervals )
Change structure of intervals to form a correct response.
Description Description
Also converts local datetimes to GMT and adds them to the intervals.
Parameters Parameters
- $intervals
-
(Required) Time interval, e.g. day, week, month.
Source Source
File: packages/woocommerce-admin/src/API/Reports/DataStore.php