# learnpress/4.1.6.9/templates/loop/course/instructor.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.1.6.9. 23 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.1.6.9/code/templates/loop/course/instructor.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.1.6.9/raw/templates/loop/course/instructor.php
- Modified: 2022-07-27T02:27:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.1.6.9/code/templates/loop/course/instructor.php#L10-L20`.

```php
<?php
/**
 * Template for displaying instructor of course within the loop.
 *
 * This template can be overridden by copying it to yourtheme/learnpress/loop/course/instructor.php.
 *
 * @author   ThimPress
 * @package  Learnpress/Templates
 * @version  4.0.0
 */

defined( 'ABSPATH' ) || exit();

$course = learn_press_get_course();
if ( ! $course ) {
	return;
}
?>

<span class="course-instructor">
	<?php echo wp_kses_post( $course->get_instructor_html() ); ?>
</span>

```
