Change WordPress user roles and capabilities Forums Bug Reports ure_manage_options tied to Administrator visibility Reply To: ure_manage_options tied to Administrator visibility

#4976
tanner
Participant

I’ve just tried adding

add_filter('ure_supress_administrators_protection', 'switch_off_ure_administrators_protection', 10, 1);
function switch_off_ure_administrators_protection($supress_protection) {

    $supress_protection = true;
    
    return $supress_protection;
}

to the functions.php file for testing gbt it crashes the site.