I want to check a posts content permissions (which user roles are allowed to see it). Anyone got some code for this?
Reason behind this is to instead of showing "Sorry, but you do not have permission to view this content" I want to not even show the entry in the post listing.
I'm sure someone wanted to do this before me, nah??!!
ANY HELP GREATLY APPRECIATED!!!!!