Sauter la navigation

[Résolu] Access Control – change user role name

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

The issue here is that the user wanted to know if it was possible to change their custom user role name in Access after it has been created.

Solution:

Unfortunately no, you are not able to rename the user roles once they are created. The only way to do it is by using some custom code like below.

https://wordpress.stackexchange.com/questions/23026/is-there-way-to-rename-user-role-name-without-plugin

For it to work you will need to add it to your functions.php file.

100% of people find this useful.

This support ticket is created Il y a 4 années et 1 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Marqué : 

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par leilaG Il y a 4 années et 1 mois.

Assisté par: Shane.

Auteur
Publications
#1974789
#1974999

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Leila,

Thank you for getting in touch.

Unfortunately no, you are not able to rename the user roles once they are created. The only way to do it is by using some custom code like below.

https://wordpress.stackexchange.com/questions/23026/is-there-way-to-rename-user-role-name-without-plugin

For it to work you will need to add it to your functions.php file.
Thanks,
Shane

#1976029

Okay thanks for info 🙂