• 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.

    • This topic was modified 3 years, 6 months ago by Javier Troya.
  • The topic ‘is user logged in (solved)’ is closed to new replies.