Changing user role for widgets access
-
Topic
-
Hi Jason
A client has an Editor role with the following additions:
function my_module_caps( $module_caps ) {
// Layout Builder
$module_caps[‘builder’] = ‘edit_pages’;// Theme Options
$module_caps[‘options’] = ‘edit_pages’;// Widget Area Manager
$module_caps[‘sidebars’] = ‘edit_pages’;// Slider Manager
$module_caps[‘sliders’] = ‘edit_pages’;return $module_caps;
}
add_filter( ‘themeblvd_admin_module_caps’, ‘my_module_caps’ );They need access to Appearance > Widgets
Is this possible?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.