Using REST API with per user resticted access to Custom Post Type
-
Hi,
I’m trying to use REST API to allow access to custom post type per user account. here is my scenario.user can create custom post type with some personal data. currently on the site the user view only his own posts and cannot see others posts.
i would like to use the REST API and allow users view their personal pots without exposing the others posts.
is it possible?
at the moment (while on the site i.e. the user is loged in, no API used) I limit the user view based on author id and loged in user. if there is a match only the spacific custom post type are displayed i.e. author match logedin user.can i do this using the REST API? if yes, how?
Thanks,
David
- The topic ‘Using REST API with per user resticted access to Custom Post Type’ is closed to new replies.