learndash_wp_login

learndash_wp_login( string $user_login = '',  WP_User|string $user = '' )

Records the last login time for the user.


Description #

Fires on wp_login hook.


Parameters #

$user_login

(string) (Optional) Username.

Default value: ''

$user

(WP_User|string) (Optional) The WP_User object of the logged-in user.

Default value: ''


Source #

File: includes/ld-users.php


Changelog #

Changelog
Version Description
2.3.0 Introduced.