LLMS_Shortcode_Course_Outline::get_default_attributes()
Retrieves an array of default attributes which are automatically merged with the user submitted attributes and passed to $this->get_output()
Return Return
(array)
Source Source
File: includes/shortcodes/class.llms.shortcode.course.outline.php
protected function get_default_attributes() {
return array(
'collapse' => 0, // outputs a collapsible syllabus when true
'course_id' => $this->get_course_id(),
'outline_type' => 'full', // full, current_section
'toggles' => 0, // outputs open/close all toggles when true
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.5.1 | Introduced. |