DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
update user role wordpress
$wp_user_object = new WP_User($current_user->ID); $wp_user_object->set_role('editor');
Source by wordpress.stackexchange.com #
PREVIOUS
NEXT
Tagged:
#update
#user
#role
#wordpress
ADD COMMENT
Topic
COMMENT
Name
4+7 =
Submit