Change WordPress user roles and capabilities › Forums › How to or FAQ › Is there a API to control content view restrictions ? › Reply To: Is there a API to control content view restrictions ?
Your question came in time. I discovered that I need something similar myself to get a data about restricted posts from other add-on: I plan to hide front-end menu items linked to the prohibited pages. So I may find something suitable in an existing code or write publicly available function especially for this purpose. I will contact you in 2-3 days.