Change WordPress user roles and capabilities › Forums › How to or FAQ › Admin is unable to add other admins › Reply To: Admin is unable to add other admins
24/08/2019 at 02:36
#5897
Vladimir
Keymaster
URE protects by default ‘administrator’ role and users with ‘administrator’ role from each other. You may switch off this protection using filter:
add_filter('ure_supress_administrators_protection', 'ure_supress_administrators_protection', 10);
function ure_supress_administrators_protection() {
return true;
}