LLMS_Shortcode_Course_Instructors

LLMS_Shortcode_Course_Instructors


Source Source

File: includes/shortcodes/class.llms.shortcode.course.instructors.php

class LLMS_Shortcode_Course_Instructors extends LLMS_Shortcode_Course_Element {

	/**
	 * Shortcode tag
	 *
	 * @var string
	 */
	public $tag = 'lifterlms_course_instructors';

	/**
	 * Retrieves an array of default attributes which are automatically merged
	 * with the user submitted attributes and passed to $this->get_output()
	 *
	 * @since 7.7.0
	 *
	 * @return array
	 */
	protected function get_default_attributes() {
		return array();
	}

	/**
	 * Call the template function for the course element
	 *
	 * @since 7.7.0
	 *
	 * @return void
	 */
	protected function template_function() {

		llms_template_instructors();
	}
}


Top ↑

Methods Methods

  • get_default_attributes — Retrieves an array of default attributes which are automatically merged with the user submitted attributes and passed to $this->get_output()
  • template_function — Call the template function for the course element

Top ↑

Changelog Changelog

Changelog
Version Description
7.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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