#7245
Vladimir
Keymaster

While code version above work for the user with ‘user-manager’ role only, this version works for all users including one with ‘administrator’ role:


add_filter('ure_show_additional_capabilities_section', 'ure_show_additional_capabilities_section');

function ure_show_additional_capabilities_section( $show ) {

/*  Remove comment if do not wish to apply this for administrators also  
    $lib = URE_Lib::get_instance();
    if ($lib->is_super_admin()) {
        return $show;
    }
*/            
    return false;
}