# jetformbuilder/3.6.6/includes/classes/theme/with-theme-info.php

JetFormBuilder — Dynamic Blocks Form Builder, version 3.6.6. 25 lines.

- Page: https://pluginprobe.com/plugins/jetformbuilder/3.6.6/code/includes/classes/theme/with-theme-info.php
- Raw: https://pluginprobe.com/plugins/jetformbuilder/3.6.6/raw/includes/classes/theme/with-theme-info.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.6/code/includes/classes/theme/with-theme-info.php#L10-L20`.

```php
<?php


namespace Jet_Form_Builder\Classes\Theme;

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

trait With_Theme_Info {

	// phpcs:ignore PSR2.Classes.PropertyDeclaration.Underscore
	private $_theme;

	public function theme(): Theme_Info {
		if ( ! $this->_theme ) {
			$this->_theme = new Theme_Info();
		}

		return $this->_theme;
	}

}

```
