-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsupervisor.php
More file actions
64 lines (53 loc) · 1.13 KB
/
supervisor.php
File metadata and controls
64 lines (53 loc) · 1.13 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/**
* Plugin Name: Supervisor
* Plugin URI: https://supervisorwp.com
* Description: A plugin to help improve the performance and security of your WordPress install.
* Version: 1.3.3
* Author: Supervisor Team
* Author URI: https://supervisorwp.com/contributors
* License: GPL-3.0+
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt
*
* Text Domain: supervisor
*
* @package supervisor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Plugin constants.
*
* @since 1.0.0
*/
define( 'SUPV', true );
define( 'SUPV_VERSION', '1.3.3' );
define( 'SUPV_PLUGIN_DIR', dirname( __FILE__ ) );
define( 'SUPV_PLUGIN_URL', plugins_url( '', __FILE__ ) );
define( 'SUPV_PLUGIN_FILE', __FILE__ );
define( 'SUPV_INC_DIR', SUPV_PLUGIN_DIR . '/includes' );
/**
* Loads the autoloader.
*
* @since 1.0.0
*/
if ( ! file_exists( SUPV_PLUGIN_DIR . '/vendor/autoload.php' ) ) {
return;
}
require_once SUPV_PLUGIN_DIR . '/vendor/autoload.php';
/**
* Plugin loader.
*
* @since 1.0.0
*
* @return \SUPV\Loader
*/
function supv() {
static $supv;
if ( ! $supv ) {
$supv = new SUPV\Loader();
}
return $supv;
}
supv();