Hi, everything is fine until I start interacting with the API.
I think after I login as admin I can see all restricted posts when I go to /wp-json/wp/v2/posts.
But I can only get an unrestricted list of posts or categories, just like when I’m not logged in.
When I deactivate the plugin, then I can get a list of all posts.
I’m new to the API so I’m not sure how it works but I don’t think it’s appropriate. Is there any way to solve it? Thanks a lot!