How To Enable/Disable Add User Role Slugs to Admin Body Classes ASE Pro

YouTube video

Useful for when you need to modify the admin area only for certain user role(s).

  1. Click on Tools in the WordPress left side admin bar.
  2. Then select Enhancements.
  3. Click on Admin interface.
  4. Locate the various admin UI enchantments option and enable it and click expand.
  5. Locate the Add User Role Slugs to Admin Body Classes option and enable or disable the option.
  6. Click save changes.