Title: add_role() issue
Last modified: August 20, 2016

---

# add_role() issue

 *  [MJ](https://wordpress.org/support/users/mardie/)
 * (@mardie)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/add_role-issue/)
 * Hi,
 * 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:
   
   [http://goo.gl/2iOIB](http://goo.gl/2iOIB)
 * 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!

Viewing 1 replies (of 1 total)

 *  Thread Starter [MJ](https://wordpress.org/support/users/mardie/)
 * (@mardie)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/add_role-issue/#post-3589181)
 * I forgot to add the link for the function. Here is what I am referring to:
    [http://codex.wordpress.org/Function_Reference/add_role](http://codex.wordpress.org/Function_Reference/add_role)

Viewing 1 replies (of 1 total)

The topic ‘add_role() issue’ is closed to new replies.

## Tags

 * [add_role](https://wordpress.org/support/topic-tag/add_role/)
 * [change role](https://wordpress.org/support/topic-tag/change-role/)
 * [forum](https://wordpress.org/support/topic-tag/forum/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [MJ](https://wordpress.org/support/users/mardie/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/add_role-issue/#post-3589181)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
