-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhey-notify.php
59 lines (53 loc) · 2.58 KB
/
hey-notify.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
57
58
59
<?php
/**
* Plugin Name: Hey Notify
* Plugin URI: https://heynotifywp.com/
* Description: Get notified when things happen in WordPress.
* Version: 2.1.0
* Author: FireTree Design, LLC <[email protected]>
* Author URI: https://firetreedesign.com/
* Text Domain: hey-notify
* Domain Path: /languages
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*
* @package Hey_Notify
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'HEY_NOTIFY_VERSION', '2.1.0' );
define( 'HEY_NOTIFY_PLUGIN_FILE', __FILE__ );
define( 'HEY_NOTIFY_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'HEY_NOTIFY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/upgrades.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/cpt.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/filters.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/notifications.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/class-hook.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/class-event.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/class-service.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/scripts.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/rest-api.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/languages.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/helpers.php';
// Admin.
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/admin/class-page-tabs.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/admin/class-settings.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/admin/class-pages.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/admin/settings/class-general.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/admin/settings/class-licenses.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/admin/settings/class-uninstall.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/admin/class-metabox.php';
// Events.
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/events/post/loader.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/events/page/loader.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/events/comment/loader.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/events/user/loader.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/events/system/loader.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/events/cpt/loader.php';
// Services.
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/services/class-slack.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/services/class-discord.php';
require_once HEY_NOTIFY_PLUGIN_DIR . 'includes/services/class-email.php';