LLMS_Shortcode_Course_Author::get_default_attributes()
Get default shortcode attributes.
Description Description
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.author.php
protected function get_default_attributes() {
return array(
'avatar_size' => 48,
'bio' => 'yes',
'course_id' => get_the_ID(),
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.6.0 | Introduced. |