-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpollux.php
37 lines (32 loc) · 1.26 KB
/
pollux.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
<?php
/**
* ╔═╗╔═╗╔╦╗╦╔╗╔╦ ╦ ╔═╗╔╗ ╔═╗
* ║ ╦║╣ ║║║║║║║║ ║ ╠═╣╠╩╗╚═╗
* ╚═╝╚═╝╩ ╩╩╝╚╝╩ ╩═╝╩ ╩╚═╝╚═╝
*
* Plugin Name: Pollux
* Plugin URI: https://wordpress.org/plugins/pollux
* Description: Pollux is a theme-agnostic scaffolding plugin for WordPress.
* Version: 1.5.2
* Author: Paul Ryley
* Author URI: https://profiles.wordpress.org/pryley#content-plugins
* License: GPL3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: pollux
* Domain Path: languages
*/
defined( 'WPINC' ) || die;
if( !class_exists( 'GL_Plugin_Check_v3' )) {
require_once __DIR__.'/activate.php';
}
if( !(new GL_Plugin_Check_v3( __FILE__ ))->canProceed() )return;
require_once __DIR__.'/autoload.php';
require_once __DIR__.'/helpers.php';
require_once __DIR__.'/thirdparty.php';
$app = GeminiLabs\Pollux\Application::getInstance();
register_activation_hook( __FILE__, array( $app, 'onActivation' ));
register_deactivation_hook( __FILE__, array( $app, 'onDeactivation' ));
$app->register( new GeminiLabs\Pollux\Provider );
$app->init([
'meta-box/meta-box.php' => 'Meta Box|5.0.1|https://wordpress.org/plugins/meta-box/',
]);