# jetformbuilder/3.6.5.4/includes/classes/get-template-trait.php

JetFormBuilder — Dynamic Blocks Form Builder, version 3.6.5.4. 24 lines.

- Page: https://pluginprobe.com/plugins/jetformbuilder/3.6.5.4/code/includes/classes/get-template-trait.php
- Raw: https://pluginprobe.com/plugins/jetformbuilder/3.6.5.4/raw/includes/classes/get-template-trait.php
- Modified: 2023-11-20T11:46:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetformbuilder/3.6.5.4/code/includes/classes/get-template-trait.php#L10-L20`.

```php
<?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;
	}

}

```
