WordPress: Custom Role Check for Post

I have some custom roles eg role1, role2, role3. Additionally i have some Tags for Posts named the same, so role1, role2, role3. Now i want to check for each Post, if the user is in the corresponding role to be able to see it. Whats the hook or entry point to script something like that. So which action is responsible to check if somebody may view a post or not. Best Regards Florin

Comment (0)

You’ll be in good company