• Does this plugin provide an equivalent to is_user_logged_in() to check if a request is authenticated? Had and issue with the JSON-API filtered to check for is_user_logged_in() and I could extend that.

Viewing 1 replies (of 1 total)
  • hi, to get the current user id you just need to

    $user_id = apply_filter('determine_current_user', true);

    That will get you the id of the user related to the sent token

Viewing 1 replies (of 1 total)
  • The topic ‘is_user_logged_in() equivalent’ is closed to new replies.