PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / 1.2.2
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar v1.2.2
3.3.0 3.2.14 3.2.13 3.2.12 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 trunk 0.2.5.5 0.2.5.6 0.2.5.7 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.2.0 1.2.1 1.2.2 All 155 releases
notificationx / notificationx.php

notificationx.php in NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar 1.2.2, at notificationx.php

81 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * @link https://wpdeveloper.net
5 * @since 1.0.0
6 * @package NotificationX
7 *
8 * @wordpress-plugin
9 * Plugin Name: NotificationX
10 * Plugin URI: https://wpdeveloper.net/NotificationX
11 * Description: Social Proof & Recent Sales Popup, Comment Notification, Subscription Notification, Notification Bar and many more.
12 * Version: 1.2.2
13 * Author: WPDeveloper
14 * Author URI: https://wpdeveloper.net
15 * License: GPL-2.0+
16 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
17 * Text Domain: notificationx
18 * Domain Path: /languages
19 */
20
21 // If this file is called directly, abort.
22 if ( ! defined( 'WPINC' ) ) {
23 die;
24 }
25
26 define( 'NOTIFICATIONX_VERSION', '1.2.2' );
27 define( 'NOTIFICATIONX_PLUGIN_URL', 'https://notificationx.com' );
28
29 define( 'NOTIFICATIONX_URL', plugins_url( '/', __FILE__ ) );
30 define( 'NOTIFICATIONX_ADMIN_URL', NOTIFICATIONX_URL . 'admin/' );
31 define( 'NOTIFICATIONX_PUBLIC_URL', NOTIFICATIONX_URL . 'public/' );
32
33 define( 'NOTIFICATIONX_FILE', __FILE__ );
34 define( 'NOTIFICATIONX_BASENAME', plugin_basename( __FILE__ ) );
35 define( 'NOTIFICATIONX_ROOT_DIR_PATH', plugin_dir_path( __FILE__ ) );
36 define( 'NOTIFICATIONX_ADMIN_DIR_PATH', NOTIFICATIONX_ROOT_DIR_PATH . 'admin/' );
37 define( 'NOTIFICATIONX_PUBLIC_PATH', NOTIFICATIONX_ROOT_DIR_PATH . 'public/' );
38 define( 'NOTIFICATIONX_EXT_DIR_PATH', NOTIFICATIONX_ROOT_DIR_PATH . 'extensions/' );
39
40 /**
41 * The code that runs during plugin activation.
42 * This action is documented in includes/class-nx-activator.php
43 */
44 function activate_notificationx() {
45 require_once NOTIFICATIONX_ROOT_DIR_PATH . 'includes/class-nx-activator.php';
46 NotificationX_Activator::activate();
47 }
48
49 /**
50 * The code that runs during plugin deactivation.
51 * This action is documented in includes/class-nx-deactivator.php
52 */
53 function deactivate_notificationx() {
54 require_once NOTIFICATIONX_ROOT_DIR_PATH . 'includes/class-nx-deactivator.php';
55 NotificationX_Deactivator::deactivate();
56 }
57
58 register_activation_hook( __FILE__, 'activate_notificationx' );
59 register_deactivation_hook( __FILE__, 'deactivate_notificationx' );
60
61 /**
62 * The core plugin class that is used to define internationalization,
63 * admin-specific hooks, and public-facing site hooks.
64 */
65 require_once NOTIFICATIONX_ROOT_DIR_PATH . 'includes/class-nx.php';
66
67 /**
68 * Begins execution of the plugin.
69 *
70 * Since everything within the plugin is registered via hooks,
71 * then kicking off the plugin from this point in the file does
72 * not affect the page life cycle.
73 *
74 * @since 1.0.0
75 */
76 function run_NotificationX() {
77 $plugin = new NotificationX();
78 $plugin->run();
79 }
80 run_NotificationX();
81