Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Segmenter::segment_cmp( AutomatticWooCommerceAdminAPIReportsstdClass $a, AutomatticWooCommerceAdminAPIReportsstdClass $b )
Compares two report data objects by pre-defined object property and ASC/DESC ordering.
Description Description
Parameters Parameters
- $a
-
(Required) Object a.
- $b
-
(Required) Object b.
Return Return
(string)
Source Source
File: packages/woocommerce-admin/src/API/Reports/Segmenter.php