| @@ -1,0 +1,26 @@ | ||
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Plugin Name: Templately | |
| 4 | + * Description: The Best Templates Cloud for Elementor & Gutenberg. Get access to stunning templates, WorkSpace, Cloud Library & many more. | |
| 5 | + * Plugin URI: https://templately.com | |
| 6 | + * Author: Templately | |
| 7 | + * Version: 3.1.4 | |
| 8 | + * Author URI: https://templately.com/ | |
| 9 | + * Text Domain: templately | |
| 10 | + * Domain Path: /languages | |
| 11 | + */ | |
| 12 | +defined( 'ABSPATH' ) or die( 'Access denied!' ); // Avoid direct file request | |
| 13 | + | |
| 14 | +define( 'TEMPLATELY_FILE', __FILE__ ); | |
| 15 | +define( 'TEMPLATELY_PATH', plugin_dir_path( TEMPLATELY_FILE ) ); | |
| 16 | +require TEMPLATELY_PATH . 'vendor/autoload.php'; | |
| 17 | + | |
| 18 | +/** | |
| 19 | + * Templately Class will be instantiated by function. | |
| 20 | + * @return Templately\Plugin | |
| 21 | + */ | |
| 22 | +function templately() { | |
| 23 | + return Templately\Plugin::get_instance(); | |
| 24 | +} | |
| 25 | + | |
| 26 | +templately(); | |