PluginProbe
Templateberg – Gutenberg Templates, WordPress Themes Template Kits & WordPress Templates / 1.1.3
Templateberg – Gutenberg Templates, WordPress Themes Template Kits & WordPress Templates v1.1.3
1.2.0 2.0.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9
templateberg / templateberg.php

templateberg.php in Templateberg – Gutenberg Templates, WordPress Themes Template Kits & WordPress Templates 1.1.3, at templateberg.php

79 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**If this file is called directly, abort.*/
3 if (! defined('WPINC')) {
4 echo 'Hi there! I\'m just a plugin, not much I can do when called directly.';
5 exit;
6 }
7
8 /**
9 *
10 * @link https://www.templateberg.com/
11 * @since 1.0.0
12 * @package Templateberg
13 *
14 * @wordpress-plugin
15 * Plugin Name: Templateberg - Gutenberg Templates, WordPress Themes Template Kits & WordPress Templates
16 * Description: Easily Import pre-designed templates with starter content on your website and instantly build an elegant website with WordPress. Templateberg content Gutenberg Templates, Patterns and WordPress Theme Template Kits.
17 * Version: 1.1.3
18 * Author: templateberg
19 * Author URI: https://www.templateberg.com/
20 * License: GPL-2.0+
21 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
22 * Text Domain: templateberg
23 */
24
25 /*Define Constants for this plugin*/
26 define('TEMPLATEBERG_VERSION', '1.1.3');
27 define('TEMPLATEBERG_PLUGIN_NAME', 'templateberg');
28 define('TEMPLATEBERG_PATH', plugin_dir_path(__FILE__));
29 define('TEMPLATEBERG_URL', plugin_dir_url(__FILE__));
30 define('TEMPLATEBERG_SCRIPT_PREFIX', ( defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ) ? '' : '.min');
31
32 /**
33 * The code that runs during plugin activation.
34 * This action is documented in includes/class-templateberg-activator.php
35 */
36 function activate_templateberg()
37 {
38 require_once TEMPLATEBERG_PATH . 'includes/class-templateberg-activator.php';
39 Templateberg_Activator::activate();
40 }
41
42 /**
43 * The core plugin class that is used to define internationalization,
44 * admin-specific hooks, and public-facing site hooks.
45 */
46 require TEMPLATEBERG_PATH . 'includes/class-templateberg.php';
47
48 /**
49 * The code that runs during plugin deactivation.
50 * This action is documented in includes/class-templateberg-deactivator.php
51 */
52 function deactivate_templateberg()
53 {
54 require_once TEMPLATEBERG_PATH . 'includes/class-templateberg-deactivator.php';
55 Templateberg_Deactivator::deactivate();
56 }
57
58 register_activation_hook(__FILE__, 'activate_templateberg');
59 register_deactivation_hook(__FILE__, 'deactivate_templateberg');
60
61 /**
62 * Begins execution of the plugin.
63 *
64 * Since everything within the plugin is registered via hooks,
65 * then kicking off the plugin from this point in the file does
66 * not affect the page life cycle.
67 *
68 * @since 1.0.0
69 */
70 if (! function_exists('run_templateberg')) {
71
72 function run_templateberg()
73 {
74
75 return Templateberg::instance();
76 }
77 run_templateberg()->run();
78 }
79