is user logged in (solved)
-
To all of you who want to get the current user logged in, you only need to call
$user_id = apply_filter('determine_current_user', true);
and it will validate the token sent and return the user id of the corresponding user. If no user is found it will return a WP_Error.
- The topic ‘is user logged in (solved)’ is closed to new replies.