experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products
Returns if simple products should be excluded from the report.
Usage
add_filter( 'experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products', 'wp_kama_experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products_filter' ); /** * Function for `experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products` filter-hook. * * @param $query_args * * @return */ function wp_kama_experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products_filter( $query_args ){ // filter... return $query_args; }
- $query_args
- -
Where the hook is called
experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products
woocommerce/src/Admin/API/Reports/Variations/Stats/DataStore.php 141
return apply_filters( 'experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products', true, $query_args );