WordPress at Your Fingertips
function is not described

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

Query::get_default_query_vars() protected WC 1.0

Valid fields for Customers report.

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

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_default_query_vars();

Code of Query::get_default_query_vars() WC 6.1.0

protected function get_default_query_vars() {
	return array(
		'per_page' => get_option( 'posts_per_page' ), // not sure if this should be the default.
		'page'     => 1,
		'order'    => 'DESC',
		'orderby'  => 'date_registered',
		'fields'   => '*', // @todo Needed?
	);
}