-
Notifications
You must be signed in to change notification settings - Fork 2
/
backstage.php
executable file
·41 lines (36 loc) · 1.29 KB
/
backstage.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
<?php
/**
* @wordpress-plugin
* Plugin Name: Backstage – Customizer Demo Access
* Plugin URI: https://wordpress.org/plugins/backstage/
* Description: Customizer Demo Access for Everyone
* Version: 1.4.2
* Author: Pixelgrade
* Author URI: https://pixelgrade.com
* Author Email: [email protected]
* Requires at least: 4.9.0
* Tested up to: 5.3.0
* Text Domain: backstage
* License: GPL-2.0 or later.
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /languages
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
require_once( plugin_dir_path( __FILE__ ) . 'includes/lib/abstracts/class-Backstage_Singleton_Registry.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/lib/abstracts/class-Backstage_Plugin_Init.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/lib/class-Backstage_Array.php' );
require_once( plugin_dir_path( __FILE__ ) . 'extras.php' );
/**
* Returns the main instance of Backstage_Plugin to prevent the need to use globals.
*
* @since 1.0.0
* @return Backstage_Plugin Backstage_Plugin instance.
*/
function Backstage_Plugin() {
require_once( plugin_dir_path( __FILE__ ) . 'includes/class-Backstage_Plugin.php' );
return Backstage_Plugin::getInstance( __FILE__, '1.4.2' );
}
Backstage_Plugin();