Segmenter::get_totals_segments( array $query_params, string $table_name )

Returns an array of segments for totals part of REST response.


Description Description


Parameters Parameters

$query_params

(Required) Totals SQL query parameters.

$table_name

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


Top ↑

Return Return

(array)


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.