• Resolved timbergski

    (@timbergski)


    I’m attempting to record the time when a user logs in. There’s a tried and tested way of storing the time in the user metadata using the ‘wp_login’ hook. I placed that code at the top of my theme’s functions.php but the hook never gets called.

    I see that Ultimate Member has a ‘um_user_login’ hook, but that’s not really what I want, since it gets login form data as arguments, not the user ID or object.

    What should I do?

    BTW, I do mean (date and) time – the date will not suffice.

    • This topic was modified 1 year, 1 month ago by timbergski.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Recording user login time’ is closed to new replies.