How to hide a specific part of dashboard for non-admin roles?
I’m not sure what exactly you are trying to do, since the link you provided does not speak of removing any admin page (merely excluding some posts). Anyhow, if you want to block the managers access to some page, you can redirect them to somewhere else if they try to access that page. add_filter( ‘admin_init’, … Read more