experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products

experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products') is found 1 times:

  • /src/Admin/API/Reports/Variations/Stats/DataStore.php line 141
    	 *
    	 * @return boolean
    	 */
    	protected function should_exclude_simple_products( array $query_args ) {
    		return apply_filters( 'experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products', true, $query_args );
    	}
    
    	/**
    	 * Get the default query arguments to be used by get_data().
    	 * These defaults are only partially applied when used via REST API, as that has its own defaults.
    	 *