Fotini Kokkinos


I have the followng code that works fine for hiding the “Other Roles” dropdown field fro the User’s Editor screen. This snippet, doesn’t affect the “Grant Roles” Button.
//Hide “other roles” from user editor//
add_filter(‘ure_show_additional_capabilities_section’, ‘ure_show_additional_capabilities_section’);
add_filter(‘ure_bulk_grant_roles’, ‘ure_show_additional_capabilities_section’);

function ure_show_additional_capabilities_section($show) {
if (current_user_can(‘comapny_editor’)) {
$show = false;

return $show;

I tried the new snippet you gave me, with “False” but the button is till there….

Pls see the screenshot