LLMS_Roles::get_roles()
Retrieve LifterLMS roles and role names
Return Return
(array)
Source Source
File: includes/class.llms.roles.php
public static function get_roles() { return apply_filters( 'llms_get_roles', array( 'lms_manager' => __( 'LMS Manager', 'lifterlms' ), 'instructor' => __( 'Instructor', 'lifterlms' ), 'instructors_assistant' => __( 'Instructor\'s Assistant', 'lifterlms' ), 'student' => __( 'Student', 'lifterlms' ), ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.13.0 | Introduced. |