WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

Loader::register_user_data() public WC 1.0

Registers WooCommerce specific user data to the WordPress user API.

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

No Hooks.

Return

null. Nothing.

Usage

$result = Loader::register_user_data();

Code of Loader::register_user_data() WC 5.3.0

<?php
public static function register_user_data() {
	register_rest_field(
		'user',
		'woocommerce_meta',
		array(
			'get_callback'    => array( __CLASS__, 'get_user_data_values' ),
			'update_callback' => array( __CLASS__, 'update_user_data_values' ),
			'schema'          => null,
		)
	);
}