WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports\Customers

DataStore::update_registered_customer_via_last_active() public WC 1.0

Trigger a customer update if their "last active" meta value was changed. Function expects to be hooked into the updated_user_meta action.

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

No Hooks.

Return

null. Nothing.

Usage

$result = DataStore::update_registered_customer_via_last_active( $meta_id, $user_id, $meta_key );
$meta_id(int) (required)
ID of updated metadata entry.
$user_id(int) (required)
ID of the user being updated.
$meta_key(string) (required)
Meta key being updated.

Code of DataStore::update_registered_customer_via_last_active() WC 5.3.0

<?php
public static function update_registered_customer_via_last_active( $meta_id, $user_id, $meta_key ) {
	if ( 'wc_last_active' === $meta_key ) {
		self::update_registered_customer( $user_id );
	}
}