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