So if I have a user role e.g. ‘admin’ with administrator capabilities.
Which capability can I remove to get rid of the
Cornerstone ->Theme Options
Cornerstone ->Settings
in the admin area. This will mean I don’t have to worry about the clients users messing up their components or other settings.
function remove_cornerstone_settings() {
$role = get_role( 'admin' );
//$role->remove_cap( '?' );
//$role->remove_cap( '?' );
}
remove_cornerstone_settings();
Thanks
