Functionality to lookup if user can access page/post
-
Hi, I’ve been using the plugin for a little while and seems to be working fine so far.
Is it possible to perform a lookup via a theme (i.e. php or shortcode in the theme’s files) to determine if a page/post has been restricted for the currently logged in user?
So something like “can_user_access_post(id)” that would return true/false?
Or is there a short code to filter content from being visible on the front end if a user can’t actually access that content?
Thanks
- The topic ‘Functionality to lookup if user can access page/post’ is closed to new replies.