LLMS_Shortcode_Membership_Instructors::get_output()

Retrieve the actual content of the shortcode


Description Description

$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


Top ↑

Return Return

(string)


Top ↑

Source Source

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

	protected function get_output() {
		if ( 'llms_membership' !== get_post_type( get_the_ID() ) ) {
			return '';
		}

		ob_start();

		llms_template_instructors();

		return ob_get_clean();
	}


Top ↑

Changelog Changelog

Changelog
Version Description
8.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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