I’m running a private site login users have access to the front-end using [My Private Site plugin][1] However I would like to restrict subscribers users who are login from accessing frontend and keep them on the admin dashboard (backend)
any Functionality I can use to add on the theme function file to restrict subscribe from accessing front-end based on user roles?
Thank You