LLMS_Shortcode_Courses::get_default_attributes()
Get 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.courses.php
42 43 44 45 46 47 48 49 50 51 52 53 | protected function get_default_attributes() { return array ( 'category' => '' , 'hidden' => 'yes' , 'id' => '' , // Allow comma-separated list of course ids. 'mine' => 'no' , 'post_status' => 'publish' , 'posts_per_page' => -1, 'order' => 'ASC' , 'orderby' => 'title' , ); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.14.0 | Introduced. |