[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.220.142.67: ~ $
<?php
/**
 * Template for displaying price of single course.
 *
 * This template can be overridden by copying it to yourtheme/learnpress/single-course/price.php.
 *
 * @author   ThimPress
 * @package  Learnpress/Templates
 * @version  4.0.0
 */

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

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

$class = '';
$class .= ( $course->has_sale_price() ) ? ' has-origin' : '';
if ( $course->is_free() ) {
    $class .= ' free-course';
}

if ( ! $price = $course->get_price_html() ) {
	return;
}
?>

<div class="course-price">

    <div class="value <?php echo $class;?>">

        <?php if ( $course->has_sale_price() ) { ?>

            <span class="course-origin-price"> <?php echo $course->get_origin_price_html(); ?></span>

        <?php } ?>

        <?php echo $price; ?>

    </div>

</div>


Filemanager

Name Type Size Permission Actions
content-item Folder 0755
meta Folder 0755
section Folder 0755
sidebar Folder 0755
tabs Folder 0755
instructor.php File 744 B 0644
loop-section.php File 4.49 KB 0644
price.php File 890 B 0644
thumbnail.php File 1.64 KB 0644