wc_update_profile_last_update_time()
Hooks into the profile_update to set the user last updated timestamp.
No Hooks.
Return
null
. Nothing (null).
Usage
wc_update_profile_last_update_time( $user_id, $old );
- $user_id(int) (required)
- The user that was updated.
- $old(array) (required)
- The profile fields pre-change.
Changelog
Since 2.6.0 | Introduced. |
wc_update_profile_last_update_time() wc update profile last update time code WC 9.4.2
function wc_update_profile_last_update_time( $user_id, $old ) { wc_set_user_last_update_time( $user_id ); }