LLMS_Course::get_instructors( boolean $exclude_hidden = false )
Retrieve course instructor information
Parameters Parameters
- $exclude_hidden
-
(boolean) (Optional) If true, excludes hidden instructors from the return array. Default is
false
.Default value: false
Return Return
(array)
Source Source
File: includes/models/model.llms.course.php
* @since 3.13.0 * * @param array $instructors Instructor data array. * @param LLMS_Course $course Course object. * @param boolearn $exclude_hidden If true, excludes hidden instructors from the return array. */ return apply_filters( 'llms_course_get_instructors', $this->instructors()->get_instructors( $exclude_hidden ), $this, $exclude_hidden ); } /** * Get course lessons * * @since 3.0.0
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.13.0 | Introduced. |