<?php


namespace Jet_Form_Builder\Classes;

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

trait Get_Template_Trait {
	/**
	 * Returns template path
	 *
	 * @param  [type] $path [description]
	 *
	 * @return [type]       [description]
	 */
	public function get_global_template( $path = '' ) {
		return JET_FORM_BUILDER_PATH . 'templates' . DIRECTORY_SEPARATOR . $path;
	}

}
