WordPress at a glance
function is not described

wc_current_user_is_active() WC 3.4.0

Update when the user was last active.

No Hooks.

Return

null. Nothing.

Usage

wc_current_user_is_active();

Changelog

Since 3.4.0 Introduced.

Code of wc_current_user_is_active() WC 5.3.0

<?php
function wc_current_user_is_active() {
	if ( ! is_user_logged_in() ) {
		return;
	}
	wc_update_user_last_active( get_current_user_id() );
}