LLMS_Shortcode_Lesson_Mark_Complete

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();

	}

}


Top ↑

Methods Methods

  • get_output — Retrieve the actual content of the shortcode

Top ↑

Changelog Changelog

Changelog
Version Description
3.11.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.