LLMS_User_Permissions::editable_roles( array $all_roles )
Determines what other user roles can be managed by a user role
Description Description
Allows LMS Managers to create instructors and other managers. Allows instructors to create & manage assistants.
Parameters Parameters
- $all_roles
-
(Required) All roles array.
Return Return
(array)
Source Source
File: includes/class.llms.user.permissions.php
Changelog Changelog
Version | Description |
---|---|
4.10.0 | Better handling of users with multiple roles. |
3.37.14 | Use strict comparison. |
3.34.0 | Moved the llms_editable_roles filter to the class method get_editable_roles(). |
3.13.0 | Introduced. |