| @@ -1,21 +1,21 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * Template for displaying price of course within the loop. | |
| 4 | - * | |
| 5 | - * This template can be overridden by copying it to yourtheme/learnpress/loop/course/price.php. | |
| 6 | - * | |
| 7 | - * @author ThimPress | |
| 8 | - * @package Learnpress/Templates | |
| 9 | - * @version 3.0.1 | |
| 10 | - */ | |
| 11 | - | |
| 12 | -defined( 'ABSPATH' ) || exit(); | |
| 13 | - | |
| 14 | -if ( ! isset( $course ) || ! isset( $price_html ) ) { | |
| 15 | - return; | |
| 16 | -} | |
| 17 | -?> | |
| 18 | - | |
| 19 | -<div class="course-price"> | |
| 20 | - <?php echo wp_kses_post( $price_html ); ?> | |
| 21 | -</div> | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Template for displaying price of course within the loop. | |
| 4 | + * | |
| 5 | + * This template can be overridden by copying it to yourtheme/learnpress/loop/course/price.php. | |
| 6 | + * | |
| 7 | + * @author ThimPress | |
| 8 | + * @package Learnpress/Templates | |
| 9 | + * @version 3.0.1 | |
| 10 | + */ | |
| 11 | + | |
| 12 | +defined( 'ABSPATH' ) || exit(); | |
| 13 | + | |
| 14 | +if ( ! isset( $course ) || ! isset( $price_html ) ) { | |
| 15 | + return; | |
| 16 | +} | |
| 17 | +?> | |
| 18 | + | |
| 19 | +<div class="course-price"> | |
| 20 | + <?php echo wp_kses_post( $price_html ); ?> | |
| 21 | +</div> | |