I'm trying to rewrite a bit of core WordPress functionality. I'm using WordPress 3.9.2 and I consider myself an intermediate in WordPress programming.
This is an image that will explain what I am trying to do:
Currently, when one sets a post to "Private", it will hide the post from view, only to be accessed directly through it's link and by specially privileged users. This is not what my customer want, they want a "Member" (Norwegian: Medlemmer) functionality instead, where that option will make the posts exclusively visible for that specific access role. So for an anonymous user you would see some posts, but when logged in as a member, you would see all of those posts.
I am also trying to remove the "Password protected" option, as this does not apply to my customer's website, but this is not a priority.
So my question is: Any ideas on what I will have to do to change this from a plugin? My current thoughts are in the lines of filter hooks.
Any help appreciated.