Get user id of logged in user
-
Hi there
I want to fire some custom actions after the user is successfully logged in. The things I want to do depens on what user is logged in. I am hooking into the lrm/login_successful action but it doesn’t look like that I can use the get_current_user_id() function in there. I receive 0 when calling the get_current_user_id() function. Is that right?
Can I get info on the user logged in in antoher way?
The page I need help with: [log in to see the link]
- The topic ‘Get user id of logged in user’ is closed to new replies.