woocommerce_analytics_orders_select_query

woocommerce_analytics_orders_select_query

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

See hook in core

Displaying hooks found in version: woocommerce.9.2.3

apply_filters('woocommerce_analytics_orders_select_query') is found 1 times:

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

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

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

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

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

    36
    37
    38
    39
    40
    41
    42
        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 );
        }
    }