PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / 3.2.7
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar v3.2.7
3.3.1 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 All 156 releases
notificationx / includes / Types / FlashingTab.php

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

58 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Extension Abstract
5 *
6 * @package NotificationX\Extensions
7 */
8
9 namespace NotificationX\Types;
10
11 use NotificationX\Extensions\GlobalFields;
12 use NotificationX\GetInstance;
13
14 /**
15 * Extension Abstract for all Extension.
16 * @method static FlashingTab get_instance($args = null)
17 */
18 class FlashingTab extends Types {
19 /**
20 * Instance of FlashingTab
21 *
22 * @var FlashingTab
23 */
24 use GetInstance;
25 public $priority = 45;
26 public $is_pro = true;
27 public $module = ['modules_flashing'];
28 public $id = 'flashing_tab';
29 public $default_source = 'flashing_tab';
30 public $link_type = '-1';
31
32 /**
33 * Initially Invoked when initialized.
34 */
35 public function __construct() {
36 // nx_comment_colored_themes
37 parent::__construct();
38 }
39
40 public function init()
41 {
42 parent::init();
43 $this->title = __('Flashing Tab', 'notificationx');
44 $this->dashboard_title = __('Flashing Tab', 'notificationx');
45 $this->popup = [
46 "denyButtonText" => __("<a href='https://notificationx.com/flashing-tab/' target='_blank'>More Info</a>", "notificationx"),
47 "confirmButtonText" => __("<a href='https://notificationx.com/#pricing' target='_blank'>Upgrade to PRO</a>", "notificationx"),
48 "html"=> __('
49 <span>Revive lost visitors and convert them into customers with captivating Flashing Tab alerts.</span>
50 <video id="pro_alert_video_popup" type="text/html" allowfullscreen width="450" height="235" autoplay loop muted>
51 <source src="https://notificationx.com/wp-content/uploads/2024/01/How-To-Configure-Flashing-Tab-Alert-With-NotificationX.mp4" type="video/mp4">
52 </video>
53 ', 'notificationx')
54 ];
55 }
56
57 }
58