LLMS_Shortcode_Lesson_Mark_Complete
Source Source
File: includes/shortcodes/class.llms.shortcode.lesson.mark.complete.php
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | class LLMS_Shortcode_Lesson_Mark_Complete extends LLMS_Shortcode { /** * Shortcode tag * * @var string */ public $tag = 'lifterlms_lesson_mark_complete' ; /** * Retrieve the actual content of the shortcode * * $atts & $content are both filtered before being passed to get_output() * output is filtered so the return of get_output() doesn't need its own filter * * @since 3.11.1 * * @return string */ protected function get_output() { ob_start(); lifterlms_template_complete_lesson_link(); return ob_get_clean(); } } |
Expand full source code Collapse full source code View on GitHub
Methods Methods
- get_output — Retrieve the actual content of the shortcode
Changelog Changelog
Version | Description |
---|---|
3.11.1 | Introduced. |