Skip to main content

What is an "editable role" in WordPress?

Vasyl MartyniukRoles & CapabilitiesLess than 1 minute

WordPress core has the ability to hide specific roles from other, high-privileged users. These roles are referred to as "not editable roles". When a role is designated as not editable, it will not appear in the "Role" drop-down list on user edit screen, preventing them from promoting or assigning anyone to that role.

WordPress Change Role Dropdown

FYI!

To learn more about how WordPress filters out not editable roles, refer to the editable_rolesopen in new window WordPress core hook.

This feature, provided by the WordPress core team, is further enhanced by the AAM plugin. It enables administrators to completely hide these roles from the "All Users" page as well.

WordPress Filter Users By Roles