I need to activate the Widgets for Editors in Adminimize plugin. I found this code that activates Menus, can you help me modify it so can be used for showing Widgets only? Thank you!!
// get the the role object
$role_object = get_role('editor');
// add $cap capability to this role object
$role_object->add_cap( 'edit_theme_options' );