WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I previously created a new user role called "Owner" which worked fine, however I decided to delete it afterwards from my functions.php since I found it to not be as useful for my project after all...Odd thing is though, the new custom user role is still showing up in wordpress' dropdown menu where you assign a role to a user in the dashboard.

Any ideas whats going on here? I double checked my functions.php over and over and I deleted the function for sure so I have no ideas whats going on...My guess is its getting cached somehow but clearing the browser out makes no difference.


share|improve this question
up vote 1 down vote accepted

You could try running this once in your functions.php

   $wp_roles = new WP_Roles();
share|improve this answer

Take look in your database, view your wp_site_options table, find roles, and just see what the heck is going on.

share|improve this answer

Thanks guys, I couldnt identify the problem in my database so I tried running the removal script and that seemed to do it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.