LLMS_Shortcode_Course_Author::template_function()

Call the template function for the course element


Description Description


Return Return

(void)


Top ↑

Source Source

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

	protected function template_function() {

		echo '<div class="llms-meta-info">';
		echo llms_get_author( array(
			'avatar_size' => $this->get_attribute( 'avatar_size' ),
			'bio' => ( 'yes' === $this->get_attribute( 'bio' ) ) ? true : false,
			'user_id' => $this->get_author_id(),
		) );
		echo '</div><!-- .llms-meta-info -->';

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: