can you give some examples of the usage of post_view_cap? Which caps must I use to match for registered users or guests? I can't get it work in php and functions.
I want to match if the current user have access to post.
How I can easily test with the post_view_cap if current_user have read access to a post? Is there something like virtual standard user group/cap like "has_access" or something else?