I have a site that needs to only allow people who are logged in and have at least one of 3 possible roles to have access to the pages of the site. I'm not new to programming, but am new to both php and web development. I would prefer an "in-house" solution instead of a plugin, but at this point I will take what I can get.
Is there a way or a plugin to let me do this? Thanks
Edit: Since this might need more narrow of a scope...
How do I restrict access to the webpages based on a users role? I know there's a way to do it with
is_user_logged_in() && current_user_can(Capabilities)
and custom roles with specific capabilities, is there a way to say