woocommerce_analytics_variations_stats_query_args

woocommerce_analytics_variations_stats_query_args

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_analytics_variations_stats_query_args') is found 1 times:

  • /src/Admin/API/Reports/Variations/Stats/Query.php line 53
    	 */
    	public function get_data() {
    		wc_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '9.3.0', '`GenericQuery`, `\WC_Object_Query`, or direct `DataStore` use' );
    
    		$args = apply_filters( 'woocommerce_analytics_variations_stats_query_args', $this->get_query_vars() );
    
    		$data_store = \WC_Data_Store::load( 'report-variations-stats' );
    		$results    = $data_store->get_data( $args );
    		return apply_filters( 'woocommerce_analytics_variations_stats_select_query', $results, $args );
    	}