LLMS_Student::is_instructor()
Determine if the student is a LifterLMS Instructor (of any kind)
Description Description
Can be admin, manager, instructor, assistant.
Return Return
(boolean)
Source Source
File: includes/models/model.llms.student.php
public function is_instructor() { return $this->user->has_cap( 'lifterlms_instructor' ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.14.0 | Introduced. |