Automattic\WooCommerce\Admin\API\Reports\Variations\Stats
DataStore::should_exclude_simple_products()
Returns if simple products should be excluded from the report.
Method of the class: DataStore{}
Hooks from the method
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.
DataStore::should_exclude_simple_products() DataStore::should exclude simple products code WC 9.3.3
protected function should_exclude_simple_products( array $query_args ) { return apply_filters( 'experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products', true, $query_args ); }