woocommerce_analytics_orders_stats_query_args

woocommerce_analytics_orders_stats_query_args

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

See hook in core

Displaying hooks found in version: woocommerce.9.2.3

apply_filters('woocommerce_analytics_orders_stats_query_args') is found 1 times:

  • /src/Admin/API/Reports/Orders/Stats/Query.php line 55
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
         *
         * @return array
         */
        public function get_data() {
            $args = apply_filters( 'woocommerce_analytics_orders_stats_query_args', $this->get_query_vars() );
     
            $data_store = \WC_Data_Store::load( 'report-orders-stats' );
            $results    = $data_store->get_data( $args );
            return apply_filters( 'woocommerce_analytics_orders_stats_select_query', $results, $args );
        }
    }