woocommerce_analytics_orders_query_args

woocommerce_analytics_orders_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_query_args') is found 1 times:

  • /src/Admin/API/Reports/Orders/Query.php line 37

    Warning: Undefined array key 42 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
         *
         * @return array
         */
        public function get_data() {
            $args       = apply_filters( 'woocommerce_analytics_orders_query_args', $this->get_query_vars() );
            $data_store = \WC_Data_Store::load( 'report-orders' );
            $results    = $data_store->get_data( $args );
            return apply_filters( 'woocommerce_analytics_orders_select_query', $results, $args );
        }
    }