woocommerce_analytics_customers_stats_query_args

woocommerce_analytics_customers_stats_query_args

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

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

apply_filters('woocommerce_analytics_customers_stats_query_args') is found 1 times:

  • /src/Admin/API/Reports/Customers/Stats/Query.php line 59
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
         */
        public function get_data() {
            wc_deprecated_function( __CLASS__ . '::' . __FUNCTION__, 'x.x.x', '`Reports\Customers\Query` with a custom name, `GenericQuery`, `\WC_Object_Query`, or direct `DataStore` use' );
     
            $args = apply_filters( 'woocommerce_analytics_customers_stats_query_args', $this->get_query_vars() );
     
            $data_store = \WC_Data_Store::load( 'report-customers-stats' );
            $results    = $data_store->get_data( $args );
            return apply_filters( 'woocommerce_analytics_customers_stats_select_query', $results, $args );
        }
    }