WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

MobileAppBanner::add_user_data_fields() public WC 1.0

Adds fields so that we can store user preferences for the mobile app banner

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

No Hooks.

Return

Array. Nothing.

Usage

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

Code of MobileAppBanner::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(
			'android_app_banner_dismissed',
		)
	);
}