| @@ -1,19 +1,19 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * Template for displaying lesson item section in single course. | |
| 4 | - * | |
| 5 | - * This template can be overridden by copying it to yourtheme/learnpress/single-course/section/item-lesson.php. | |
| 6 | - * | |
| 7 | - * @author ThimPress | |
| 8 | - * @package Learnpress/Templates | |
| 9 | - * @version 4.0.0 | |
| 10 | - */ | |
| 11 | - | |
| 12 | -defined( 'ABSPATH' ) || exit(); | |
| 13 | - | |
| 14 | -if ( ! isset( $item ) ) { | |
| 15 | - return; | |
| 16 | -} | |
| 17 | -?> | |
| 18 | - | |
| 19 | -<span class="item-name"><?php echo esc_html( $item->get_title( 'display' ) ); ?></span> | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Template for displaying lesson item section in single course. | |
| 4 | + * | |
| 5 | + * This template can be overridden by copying it to yourtheme/learnpress/single-course/section/item-lesson.php. | |
| 6 | + * | |
| 7 | + * @author ThimPress | |
| 8 | + * @package Learnpress/Templates | |
| 9 | + * @version 4.0.0 | |
| 10 | + */ | |
| 11 | + | |
| 12 | +defined( 'ABSPATH' ) || exit(); | |
| 13 | + | |
| 14 | +if ( ! isset( $item ) ) { | |
| 15 | + return; | |
| 16 | +} | |
| 17 | +?> | |
| 18 | + | |
| 19 | +<span class="item-name"><?php echo esc_html( $item->get_title( 'display' ) ); ?></span> | |