-
Notifications
You must be signed in to change notification settings - Fork 19
/
wp-feature-notifications.php
60 lines (53 loc) · 3.34 KB
/
wp-feature-notifications.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
60
<?php
/**
* Plugin Name: WP Feature Notifications
* Plugin URI: https://github.com/WordPress/wp-feature-notifications
* Description: A new (better) way to manage and deliver WordPress notifications to the relevant audience.
* Version: 0.1.0
* Requires at least: 5.0
* Requires PHP: 7.4
* Author: WP Feature Notifications Contributors
* Text Domain: wp-feature-notifications
* Domain Path: /languages
* License: GPL v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*
* @package wp-feature-notifications
*/
define( 'WP_FEATURE_NOTIFICATION_LOG_PREFIX', 'WP_NOTIFICATIONS: ' );
if ( ! defined( 'WP_FEATURE_NOTIFICATION_PLUGIN_VERSION' ) ) {
define( 'WP_FEATURE_NOTIFICATION_PLUGIN_VERSION', '0.0.1' );
}
if ( ! defined( 'WP_FEATURE_NOTIFICATION_DB_VERSION' ) ) {
define( 'WP_FEATURE_NOTIFICATION_DB_VERSION', '1' );
}
if ( ! defined( 'WP_FEATURE_NOTIFICATION_PLUGIN_DIR' ) ) {
define( 'WP_FEATURE_NOTIFICATION_PLUGIN_DIR', dirname( __FILE__ ) );
}
if ( ! defined( 'WP_FEATURE_NOTIFICATION_PLUGIN_DIR_URL' ) ) {
define( 'WP_FEATURE_NOTIFICATION_PLUGIN_DIR_URL', plugin_dir_url( __FILE__ ) );
}
// Require interface/class declarations..
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/framework/class-factory.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/helper/class-serde.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/exceptions/interface-exception.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/exceptions/class-runtime-exception.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/interface-status.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/model/class-channel.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/model/class-message.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/model/class-notification.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/model/class-subscription.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/factory/class-message.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/factory/class-notification.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/factory/class-subscription.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/class-channel-registry.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/channels.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/image/interface-image.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/image/class-base-image.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/persistence/interface-notification-repository.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/persistence/class-abstract-notification-repository.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/persistence/class-wpdb-notification-repository.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/restapi/class-channel-controller.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/restapi/class-notification-controller.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/restapi/class-subscription-controller.php';
require_once WP_FEATURE_NOTIFICATION_PLUGIN_DIR . '/includes/load.php';