wc_current_user_is_active()
Update when the user was last active.
No Hooks.
Returns
null. Nothing (null).
Usage
wc_current_user_is_active();
Changelog
| Since 3.4.0 | Introduced. |
wc_current_user_is_active() wc current user is active code WC 10.8.1
function wc_current_user_is_active() {
wc_update_user_last_active( get_current_user_id() );
}