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
Return Return
(string)
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();
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 8.0.0 | Introduced. |