LLMS_Student::instructor()
Retrieve an instance of the LLMS_Instructor model for the current user
Return Return
(LLMS_Instructor|false)
Source Source
File: includes/models/model.llms.student.php
*/ public function instructor() { if ( $this->is_instructor() ) { return llms_get_instructor( $this->get_id() ); } return false;
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.14.0 | Introduced. |