%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/itworks/wp-content/themes/eduma/learnpress-v1/lesson/
Upload File :
Create Path :
Current File : /var/www/html/itworks/wp-content/themes/eduma/learnpress-v1/lesson/description.php

<?php
/**
 * @author ThimPress
 * @package LearnPress/Templates
 * @version 1.0
 */

global $course;
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

if( ! ( $lesson = $course->current_lesson ) ){
	return;
}

global $post;
$_post = $post;

$post = $lesson->post;

?>
	<div class="course-lesson-description">

		<?php if( $the_content = apply_filters( 'the_content', $lesson->post->post_content ) ) :?>

			<?php echo $the_content; ?>

		<?php else: ?>

			<?php learn_press_display_message( esc_html__( 'This lesson has not got the content' , 'eduma' ), 'notice' );?>

		<?php endif;?>

	</div>
<?php $post = $_post;?>

Zerion Mini Shell 1.0