WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Admin\API\Reports\Customers\Stats

Query::get_data() public WC 1.0

Get product data based on the current query vars.

{} It's a method of the class: Query{}

Return

Array.

Usage

$Query = new Query();
$Query->get_data();

Code of Query::get_data() WC 6.1.0

public function get_data() {
	$args = apply_filters( 'woocommerce_analytics_customers_stats_query_args', $this->get_query_vars() );

	$data_store = \WC_Data_Store::load( 'report-customers-stats' );
	$results    = $data_store->get_data( $args );
	return apply_filters( 'woocommerce_analytics_customers_stats_select_query', $results, $args );
}