HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/appointmentbook.me/wp-content/themes/kadence/tutor/archive-course.php
<?php
/**
 * NOTE: This template is from the TutorLMS plugin is is overridden in Kadence Theme for better theme support of TutorLMS.
 * Template for displaying courses
 *
 * Edited by Kadence Theme, Original Author:
 * @author Themeum
 * @url https://themeum.com
 *
 * @package TutorLMS/Templates
 * @version 1.5.8
 */
tutor_utils()->tutor_custom_header();

do_action('tutor_course/archive/before/wrap');

if ( isset( $_GET['course_filter'] ) ) {
	$filter = (new \Tutor\Course_Filter(false))->load_listing( $_GET, true );
	query_posts( $filter );
}

// Load the 
tutor_load_template('archive-course-init', array_merge($_GET, array(
	'course_filter' => (bool) tutor_utils()->get_option('course_archive_filter', false),
	'supported_filters' => tutor_utils()->get_option('supported_course_filters', array()),
	'loop_content_only' => false
)));

do_action('tutor_course/archive/after/wrap');

tutor_utils()->tutor_custom_footer();