WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

Homescreen::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: Homescreen{}

No Hooks.

Return

Array. Nothing.

Usage

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

Code of Homescreen::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(
			'homepage_layout',
			'homepage_stats',
			'task_list_tracked_started_tasks',
			'help_panel_highlight_shown',
		)
	);
}