[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 104
  • Last Modified:

Mass remove Wordpress user roles for members

I would like to do a mass update of user roles.  Right now everyone is set to contributor, but I would like to remove that from everyone to make them all "normal" users. Then I can update just the few people who need to have more.  I am not afraid of mySQL, etc.  Just looking for suggestions on this can be done easily and quickly.
1 Solution
Jason C. LevineNo oneCommented:
In the WordPress usermeta table, each user will have a meta_value entry that looks like this:


Change it via an Update query to this:


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now