1

I am customizing a part of a WordPress theme (Tiger theme). I would like to customize two roles.

I would like to see new role names in both settings screens of new user creation (Users > Add New) and users list (Users > All Users).

Which are the files that I have to modify?

Blackbam
  • 17,496
  • 26
  • 97
  • 150
  • "Which are the files?" Are you asking how to make this change via code or are you asking how to make this configuration change manually? – Chris Schaller Mar 24 '17 at 22:10

1 Answers1

0

Wordpress users and roles are not kept in files, everything is stored in the database.

The function you are searching for is add_role(). There are some more wp-funtions to edit the user roles: remove_role(), get_role(), add_cap() and remove_cap(). Those are pretty well documented.

bjoster
  • 1,665
  • 1
  • 12
  • 17