I have successfully added a new role via a php function that I added in functions.php. My problem is when you go to users list : /wp-admin/users.php
Role column, and the new role is not the same. For example on this image:
This is what it should be. The Role Column (with red circle) and the New role (with yellow highlight) should be the same. Using the add_role() function only adds the New Role while the Role Column stays the same as the default, which is “Subscriber“.
I’m not sure what you call that name in the Role Column but any of you know what I need to add in my function so it would also change? I need it to be the same coz if it’s not, simplepress forum does not recognize the new role.
Thanks in advance!
- The topic ‘add_role() issue’ is closed to new replies.