-
Notifications
You must be signed in to change notification settings - Fork 0
/
woody.php
executable file
·48 lines (43 loc) · 1.43 KB
/
woody.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* Plugin Name: Woody plugin
* Plugin URI: https://github.com/woody-wordpress-pro/woody-plugin
* Description: This plugin adds all the features of Woody Addons
* Author: Raccourci Agency
* Author URI: https://www.raccourci.fr
* License: GPL2
*
* This program is GLP but; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of.
*/
defined('ABSPATH') or die('Cheatin’ uh?');
// If this file is called directly, abort.
if (!defined('WPINC')) {
die;
}
/**
* Currently plugin version.
* Start at version 1.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define('PLUGIN_NAME_VERSION', '1.43.1');
define('PLUGIN_WOODY_ROOT', __FILE__);
define('PLUGIN_WOODY_DIR_ROOT', dirname(PLUGIN_WOODY_ROOT));
define('PLUGIN_WOODY_ENV', WP_ENV);
/**
* Begins execution of the plugin.
*
* Since everything within the plugin is registered via hooks,
* then kicking off the plugin from this point in the file does
* not affect the page life cycle.
*
* @since 1.0.0
*/
if (!isset($plugin_woody_kernel)) {
$plugin_woody_kernel = new \Woody\App\Kernel(PLUGIN_WOODY_ENV);
}