WordPress at a glance
function is not described

wc_set_user_last_update_time() WC 2.6.0

Sets a user's "last update" time to the current timestamp.

No Hooks.

Return

null. Nothing.

Usage

wc_set_user_last_update_time( $user_id );
$user_id(int) (required)
The user to set a timestamp for.

Changelog

Since 2.6.0 Introduced.

Code of wc_set_user_last_update_time() WC 5.3.0

<?php
function wc_set_user_last_update_time( $user_id ) {
	update_user_meta( $user_id, 'last_update', gmdate( 'U' ) );
}