-
Notifications
You must be signed in to change notification settings - Fork 7
/
pixproof.php
42 lines (37 loc) · 1.39 KB
/
pixproof.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
<?php
/**
* @wordpress-plugin
* Plugin Name: PixProof
* Plugin URI: https://pixelgrade.com
* Description: WordPress photo gallery proofing plugin.
* Version: 2.0.1
* Author: Pixelgrade
* Author URI: https://pixelgrade.com
* Author Email: [email protected]
* Text Domain: pixproof
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /lang
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
require_once( plugin_dir_path( __FILE__ ) . 'includes/lib/abstracts/class-Pixproof_Singleton_Registry.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/lib/abstracts/class-Pixproof_Plugin_Init.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/lib/class-Pixproof_Array.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/lib/class-Pixproof_Create_Archive.php' );
require_once( plugin_dir_path( __FILE__ ) . 'extras.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/deprecated.php' );
/**
* Returns the main instance of Pixproof_Plugin to prevent the need to use globals.
*
* @since 1.0.0
* @return Pixproof_Plugin Pixproof_Plugin instance.
*/
function Pixproof_Plugin() {
require_once( plugin_dir_path( __FILE__ ) . 'includes/class-Pixproof_Plugin.php' );
return Pixproof_Plugin::getInstance( __FILE__, '2.0.0' );
}
global $pixproof_plugin;
$pixproof_plugin = Pixproof_Plugin();