/c/WordPress
A home for the WordPress community
[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.
Check out today's best deals on Amazon
Discover great savings on products you might need. When you purchase through these links, OddsRabbit earns a small commission at no extra cost to you - helping keep this community running. You might even find an amazing deal on something you were looking for.
