LLMS_Shortcode_Lesson_Mark_Complete
Source Source
File: includes/shortcodes/class.llms.shortcode.lesson.mark.complete.php
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. |