-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcore.php
executable file
·57 lines (48 loc) · 1014 Bytes
/
core.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
49
50
51
52
53
54
55
56
<?php
/**
* Core file. Initializes constants, loads required files.
*
* @package EventPress
* @subpackage core
*/
/**
* Load the text domain as soon as possible.
*/
load_plugin_textdomain( 'eventpress', false, basename( dirname( __FILE__ ) ) . '/lang' );
/**
* Get the constants.
*/
require 'constants.php';
/**#@+
* Load kb-includes
*/
require 'includes/kb-at.php';
require 'includes/kb-plugin.php';
require 'includes/kb-cpt.php';
require 'includes/kb-admin.php';
require 'includes/kb-setting.php';
require 'includes/kb-config.php';
require 'includes/kb-meta-box.php';
/**#@-*/
/**#@+
* Load EventPress's files
*/
require 'ep-setting.php';
require 'ep-config.php';
require 'ep-events.php';
require 'ep-time-mb.php';
require 'ep-reg-mb.php';
/**#@-*/
/**
* The EventPress Class -- brings it all together.
*/
class EventPress extends KB_Plugin {
public function __construct() {
parent::__construct();
do_action( "EP_init" );
}
}
/**
* Initialize EventPress.
*/
new EventPress();