WordPress at a glance
filter is not described

woocommerce_analytics_update_order_stats_data filter-hook . WC 1.0

Filters order stats data.

Usage

add_filter( 'woocommerce_analytics_update_order_stats_data', 'filter_function_name_6276', 10, 2 );
function filter_function_name_6276( $data, $order ){
	// filter...

	return $data;
}
$data(array)
Data written to order stats lookup table.
$order(WC_Order)
Order object.

Where the hook is called

DataStore::update()
woocommerce/packages/woocommerce-admin/src/API/Reports/Orders/Stats/DataStore.php 509-526
$data = apply_filters(
	'woocommerce_analytics_update_order_stats_data',
	array(
		'order_id'           => $order->get_id(),
		'parent_id'          => $order->get_parent_id(),
		'date_created'       => $order->get_date_created()->date( 'Y-m-d H:i:s' ),
		'date_created_gmt'   => gmdate( 'Y-m-d H:i:s', $order->get_date_created()->getTimestamp() ),
		'num_items_sold'     => self::get_num_items_sold( $order ),
		'total_sales'        => $order->get_total(),
		'tax_total'          => $order->get_total_tax(),
		'shipping_total'     => $order->get_shipping_total(),
		'net_total'          => self::get_net_total( $order ),
		'status'             => self::normalize_order_status( $order->get_status() ),
		'customer_id'        => $order->get_report_customer_id(),
		'returning_customer' => $order->is_returning_customer(),
	),
	$order
);

Where in WP core the hook is used WooCommerce

Usage not found.