Automattic\WooCommerce\Admin\API\Reports\Products\Stats
DataStore::get_data()
Returns the report data based on parameters supplied by the user.
Method of the class: DataStore{}
No Hooks.
Return
stdClass|WP_Error
. Data.
Usage
$DataStore = new DataStore(); $DataStore->get_data( $query_args );
- $query_args(array) (required)
- Query parameters.
DataStore::get_data() DataStore::get data code WC 9.3.3
public function get_data( $query_args ) { // Do not include extended info like `ProductsDataStore` does. return ReportsDataStore::get_data( $query_args ); }