woocommerce_analytics_{$snake_name}_query_args

woocommerce_analytics_{$snake_name}_query_args

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.1

apply_filters('woocommerce_analytics_{$snake_name}_query_args') is found 1 times:

  • /src/Admin/API/Reports/GenericQuery.php line 77
    		 * @since 9.3.0
    		 *
    		 * @param array $query_args Query args.
    		 */
    		$args = apply_filters( "woocommerce_analytics_{$snake_name}_query_args", $this->get_query_vars() );
    
    		$data_store = \WC_Data_Store::load( "report-{$this->name}" );
    		$results    = $data_store->get_data( $args );
    		/**
    		 * Filter report query results.
    		 *