DataStore::add_intervals_sql_params( array $query_args, string $table_name )
Fills FROM and WHERE clauses of SQL request for ‘Intervals’ section of data response based on user supplied parameters.
Description Description
Parameters Parameters
- $query_args
-
(Required) Parameters supplied by the user.
- $table_name
-
(Required) Name of the db table relevant for the date constraint.
Source Source
File: packages/woocommerce-admin/src/API/Reports/DataStore.php