Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Roles::get_core_caps( string $role )
Retrieve the LifterLMS core capabilities for a give role
Description Description
Parameters Parameters
- $role
-
(Required) Name of the role.
Return Return
(string[])
Source Source
File: includes/class.llms.roles.php
Changelog Changelog
Version | Description |
---|---|
4.21.2 | Added 'view_grades' to the list of instructor/assistant caps which are not automatically available. |
3.34.0 | Added student management capabilities. |
3.13.0 | Introduced. |