Hi Vladimir,
I have a problem with content view restrictions:
I have a plugin called “Encyclopedia” with post-type “encyclopedia” and created a single-encyclopedia.php file in which i want to show the users the revisions as list and give them the possibility to compare the revisions via wp_text_diff()-function.
So i have a menue via ul/li with one (default) tab that shows the post (if restricted than it shows “not allowed…”) and then i have a tab with revisions that i call with wp_get_post_revisions() and there are no restrictions so all content is displayed!
Is it possible to use a API so that i can check if content should be displayed ?
Thanks for your help and greetings from bavaria
Richard