LLMS_Shortcode_Course_Author::template_function()
Call the template function for the course element
Return Return
(void)
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 -->';
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.6.0 | |
| 3.11.1 | Introduced. |