WordPress at a glance
filter is not described

woocommerce_analytics_customer_roles filter-hook . WC 1.0

Usage

add_filter( 'woocommerce_analytics_customer_roles', 'filter_function_name_7787' );
function filter_function_name_7787( $array ){
	// filter...

	return $array;
}
$array
-

Where the hook is called

DataStore::is_valid_customer()
woocommerce_analytics_customer_roles
woocommerce/packages/woocommerce-admin/src/API/Reports/Customers/DataStore.php 796
$customer_roles = (array) apply_filters( 'woocommerce_analytics_customer_roles', array( 'customer' ) );

Where in WP core the hook is used WooCommerce

Usage not found.