05/15/2014 at 11:43 am
#291330
Participant
That connections_dashboard was exactly what I needed. I’m only hiding it from a certain user role and under. We downgraded our Editors & created a new user Role called Advanced Editor. So now I’ve hidden it from the Editors, I’ve got to add the capabilities to the Advanced editor. Thanks!
function remove_menus(){
if ( !current_user_can( 'publish_pages' ) ) {
remove_menu_page( 'connections_dashboard' );
}
}