LLMS_Shortcode_Course_Element::get_default_attributes()
Retrieves an array of default attributes which are automatically merged with the user submitted attributes and passed to $this->get_output()
Contents
Return Return
(array)
Source Source
File: includes/abstracts/abstract.llms.shortcode.course.element.php
protected function get_default_attributes() {
return array(
'course_id' => get_the_ID(),
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.6.0 | Introduced. |