Add a Custom User Role
Registers a new WordPress user role with a defined set of capabilities, falling back gracefully if the role already exists.
PHPProby SnipCraft
This is a Pro snippet
The full code for “Add a Custom User Role” is part of the SnipCraft Pro library. Get every Pro snippet and module, and import them in one click.
Get SnipCraft ProQuestions about Pro? Contact us.
#access-control#admin#capabilities#user-roles