Obtener rol de usuario registrado en WordPress

  1. Access your WordPress dashboard.
  2. In the left-hand menu, click on "Users."
  3. Locate the user for whom you want to obtain the role.
  4. Click on the user's name to edit their profile.
  5. Scroll down to the "Role" section.
  6. The user's current role will be displayed - if you need to change it, select the appropriate role from the dropdown menu.
  7. Click the "Update User" button to save the changes.