[How to] permission_callback on register_rest_route is showing user is not logged in
I struggled with this one a bit and thought it might help to create a post since this appears to be a common problem. When I was building thesrest routes on OddsRabbit, the is_user_logged_in()
function is returning false
even when the user is logged in.