Retrieves an array of default attributes which are automatically merged with the user submitted attributes and passed to $this->get_output()

Return Return


Top ↑

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

Top ↑

Changelog Changelog

Version Description
3.5.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.