<?php
/**
 * This is a built-in template file. If you need to customize it, please,
 * DO NOT modify this file directly. Instead, copy it to your theme's directory
 * and then modify the code. If you modify this file directly, your changes
 * will be overwritten during next update of the plugin.
 */
 
/* Exit if accessed directly */
if( !defined( 'ABSPATH' ) )
	exit;

/**
 * Here we call the ticket loader. This file only acts as the main loader.
 *
 * The loader can be customized or not. If not customized, we load the default one
 * where the loop is going to be started. If the loader has been customized,
 * it will call content-ticket.php inside custom containers.
 *
 * This system may seem a bit complicated, but it allows non-technical users to customize
 * the ticket details page by replacing the_content() in the template of their choice
 * by just once function wpas_get_template_part( 'ticket', 'details' );
 * 
 * The loaders are just meant to start the loop in case there is no custom template
 * and add the before and after hooks.
 */
wpas_get_template_part( 'ticket', 'loader' );