ure_not_block_other_roles_for_local_admin

Restrictions set by “Other roles access” add-on are not applied to a user with ‘administrator’ role by default under WordPress multisite. Take this into account when try to block access to some roles selection for single site admins.

It’s possible to change the default behavior for WordPress multisite via custom filter ‘ure_not_block_other_roles_for_local_admin’, using this code:

add_filter('ure_not_block_other_roles_for_local_admin','my_not_block_other_roles_for_local_admin');

function my_not_block_other_roles_for_local_admin($flag) {

  return false;
}