# learnpress/4.2.0/templates/single-course/instructor.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.2.0. 37 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.2.0/code/templates/single-course/instructor.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.2.0/raw/templates/single-course/instructor.php
- Modified: 2022-11-14T06:50:54+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.2.0/code/templates/single-course/instructor.php#L10-L20`.

```php
<?php
/**
 * Template for displaying instructor of single course.
 *
 * Do not use in LP4.
 * Will remove after LearnPress and Eduma and all guest update 4.0.0
 *
 * @author   ThimPress
 * @package  Learnpress/Templates
 * @version  3.0.0
 */

/**
 * Prevent loading this file directly
 */
defined( 'ABSPATH' ) || exit();

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

<div class="course-author">

	<h3><?php _e( 'About the Instructor', 'learnpress' ); ?></h3>

	<p class="author-name">
		<?php echo wp_kses_post( $course->get_instructor()->get_profile_picture() ); ?>
		<?php echo wp_kses_post( $course->get_instructor_html() ); ?>
	</p>
	<div class="author-bio">
		<?php echo wp_kses_post( wpautop( $course->get_author()->get_description() ) ); ?>
	</div>

</div>

```
