Automattic\WooCommerce\Internal\Admin

MobileAppBanner::add_user_data_fields()publicWC 1.0

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

Метод класса: MobileAppBanner{}

No Hooks.

Return

Array.

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 7.1.0

public function add_user_data_fields( $user_data_fields ) {
	return array_merge(
		$user_data_fields,
		array(
			'android_app_banner_dismissed',
		)
	);
}