wc_update_profile_last_update_time()WC 2.6.0

Hooks into the profile_update to set the user last updated timestamp.

Хуков нет.

Возвращает

null. Ничего (null).

Использование

wc_update_profile_last_update_time( $user_id, $old );
$user_id(int) (обязательный)
The user that was updated.
$old(массив) (обязательный)
The profile fields pre-change.

Список изменений

С версии 2.6.0 Введена.

Код wc_update_profile_last_update_time() WC 8.7.0

function wc_update_profile_last_update_time( $user_id, $old ) {
	wc_set_user_last_update_time( $user_id );
}