• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

3 Ways To Change User Roles

Here’s a quick tip giving you a few options to choose from if you need to change a users role.

1. You can go to Users and edit the user role you want to change in the dashboard.

user

The drop down menu will list all the roles you can choose from for each user.

2. If you want to use code, you can grab the users I.D by hovering over the edit or delete link for the user and looking in the status bar. Then swap out the 2 with the users I.D in the following code in your child themes functions file:

Register for full access

Roles & Capabilities

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems