Segmenter::add_intervals_segments( AutomatticWooCommerceAdminAPIReportsstdClass $data, array $intervals_query, string $table_name )

Adds an array of segments to data->intervals object.


Description Description


Parameters Parameters

$data

(Required) Data object representing the REST response.

$intervals_query

(Required) Intervals SQL query parameters.

$table_name

(Required) Name of the SQL table that is the main order stats table.


Top ↑

Source Source

File: packages/woocommerce-admin/src/API/Reports/Segmenter.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.