php /** * Template for displaying single course * * @package Tutor\Templates * @author Themeum * @link https://themeum.com * @since 1.0.0 */ $course_id = get_the_ID(); $course_rating = tutor_utils()->get_course_rating($course_id); $is_enrolled = tutor_utils()->is_enrolled($course_id, get_current_user_id()); // Prepare the nav items. $course_nav_item = apply_filters('tutor_course/single/nav_items', tutor_utils()->course_nav_items(), $course_id); $is_public = \TUTOR\Course_List::is_public($course_id); $is_mobile = wp_is_mobile(); $course_categories = get_the_terms(get_the_ID(), 'course-category'); $tutor_lesson_count = tutor_utils()->get_lesson_count_by_course(); $course_duration = get_tutor_course_duration_context(); $course_students = tutor_utils()->count_enrolled_users_by_course(); $tutor_lesson_count = tutor_utils()->get_lesson_count_by_course(); $tutor_course_duration = get_tutor_course_duration_context(); $course_students = !empty($course_students) ? $course_students : 0; $edurock_option = get_option('edurock_option'); $enrollment_box_position = tutor_utils()->get_option('enrollment_box_position_in_mobile', 'bottom'); if ('-1' === $enrollment_box_position) { $enrollment_box_position = 'bottom'; } $student_must_login_to_view_course = tutor_utils()->get_option('student_must_login_to_view_course'); tutor_utils()->tutor_custom_header(); if (!is_user_logged_in() && !$is_public && $student_must_login_to_view_course) { tutor_load_template('login'); tutor_utils()->tutor_custom_footer(); return; } $layout = 'layout-01'; ?>

Last Update: Apr 25, 2024

Shielding Cyberspace: Master Cyber Security Essentials

  • $55.00
  • 5.00
    (1)
Free
Free access this course

A course by

Requirements

  • Basic Programming
  • Daily Update
  • Routine Study
  • Regular Join Class

Audience

  • Technical People
  • Engineering Students
  • Programming Lover