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.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/class.llms.user.permissions.php


			

Top ↑

Changelog 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.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.