%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/itworks/wp-content/plugins/learnpress/templates/single-course/
Upload File :
Create Path :
Current File : /var/www/html/itworks/wp-content/plugins/learnpress/templates/single-course/students.php

<?php
/**
 * Template for displaying students of single course.
 *
 * This template can be overridden by copying it to yourtheme/learnpress/single-course/students.php.
 *
 * @author   ThimPress
 * @package  Learnpress/Templates
 * @version  3.0.0
 */

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

$course = learn_press_get_course();

// Do not show if course is no require enrollment
if ( ! $course || ! $course->is_required_enroll() ) {
	return;
}
?>

<span class="course-students" title="<?php echo esc_attr( $course->get_students_html() ); ?>">

    <?php $count = intval($course->count_students());

    echo $count > 1 ? sprintf( __('%d students', 'learnpress' ), $count ) : sprintf( __( '%d student', 'learnpress' ), $count ); ?>

</span>

Zerion Mini Shell 1.0