WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

AnalyticsDashboard::add_user_data_fields() public WC 1.0

Adds fields so that we can store performance indicators, row settings, and chart type settings for users.

{} It's a method of the class: AnalyticsDashboard{}

No Hooks.

Return

Array. Nothing.

Usage

$AnalyticsDashboard = new AnalyticsDashboard();
$AnalyticsDashboard->add_user_data_fields( $user_data_fields );
$user_data_fields(array) (required)
User data fields.

Code of AnalyticsDashboard::add_user_data_fields() WC 5.2.2

<?php
public function add_user_data_fields( $user_data_fields ) {
	return array_merge(
		$user_data_fields,
		array(
			'dashboard_sections',
			'dashboard_chart_type',
			'dashboard_chart_interval',
			'dashboard_leaderboard_rows',
		)
	);
}