LLMS_Shortcode_Course_Instructors
Source Source
File: includes/shortcodes/class.llms.shortcode.course.instructors.php
class LLMS_Shortcode_Course_Instructors extends LLMS_Shortcode_Course_Element {
/**
* Shortcode tag
*
* @var string
*/
public $tag = 'lifterlms_course_instructors';
/**
* Retrieves an array of default attributes which are automatically merged
* with the user submitted attributes and passed to $this->get_output()
*
* @since 7.7.0
*
* @return array
*/
protected function get_default_attributes() {
return array();
}
/**
* Call the template function for the course element
*
* @since 7.7.0
*
* @return void
*/
protected function template_function() {
llms_template_instructors();
}
}
Expand full source code Collapse full source code View on GitHub
Methods Methods
- get_default_attributes — Retrieves an array of default attributes which are automatically merged with the user submitted attributes and passed to $this->get_output()
- template_function — Call the template function for the course element
Changelog Changelog
| Version | Description |
|---|---|
| 7.7.0 | Introduced. |