WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

ActivityPanels::add_user_data_fields() public WC 1.0

Adds fields so that we can store activity panel last read and open times.

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

No Hooks.

Return

Array. Nothing.

Usage

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

Code of ActivityPanels::add_user_data_fields() WC 5.3.0

<?php
public function add_user_data_fields( $user_data_fields ) {
	return array_merge(
		$user_data_fields,
		array(
			'activity_panel_inbox_last_read',
			'activity_panel_reviews_last_read',
		)
	);
}