PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / 3.2.11
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar v3.2.11
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 / includes / Types / CustomNotification.php

CustomNotification.php in NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar 3.2.11, at includes/Types/CustomNotification.php

52 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Extension Abstract
4 *
5 * @package NotificationX\Extensions
6 */
7
8 namespace NotificationX\Types;
9 use NotificationX\GetInstance;
10 use NotificationX\Modules;
11
12 /**
13 * Extension Abstract for all Extension.
14 * @method static CustomNotification get_instance($args = null)
15 */
16 class CustomNotification extends Types {
17 /**
18 * Instance of Admin
19 *
20 * @var Admin
21 */
22 use GetInstance;
23 public $priority = 55;
24 public $is_pro = true;
25 public $themes = 'all';
26 public $module = ['modules_custom_notification'];
27 public $default_source = 'custom_notification';
28 // @todo default theme for custom
29 // public $default_theme = 'conversions_theme-one';
30
31 /**
32 * Initially Invoked when initialized.
33 */
34 public function __construct(){
35 parent::__construct();
36 $this->id = 'custom';
37 }
38
39 /**
40 * Runs when modules is enabled.
41 *
42 * @return void
43 */
44 public function init(){
45 parent::init();
46 $this->title = __('Custom Notification', 'notificationx');
47 }
48
49
50
51 }
52