LLMS_Roles::get_roles()

Retrieve LifterLMS roles and role names


Return Return

(array)


Top ↑

Source Source

File: includes/class.llms.roles.php

355
356
357
358
359
360
361
362
363
364
365
366
367
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' ),
        )
    );
 
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.13.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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