Automattic\WooCommerce\Admin\API\Reports\Variations\Stats

DataStore::should_exclude_simple_products()protectedWC 1.0

Returns if simple products should be excluded from the report.

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

Return

true|false.

Usage

// protected - for code of main (parent) or child class
$result = $this->should_exclude_simple_products( $query_args );
$query_args(array) (required)
Query parameters.

Code of DataStore::should_exclude_simple_products() WC 6.6.1

protected function should_exclude_simple_products( array $query_args ) {
	return apply_filters( 'experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products', true, $query_args );
}