How to change role settings via PHP
-
How do I set the UM role settings via PHP? Specifically, I am automating the creation of a new role with the add_role method, now I need to enable the ‘Can edit their profile?’ setting with code.
Another option would be to duplicate an existing role that is configured the way I want, but I can’t figure out how to do that and maintain the role settings.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to change role settings via PHP’ is closed to new replies.