PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / trunk
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar vtrunk
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 / FlashingTab.php

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

60 lines 2.1 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 // phpcs:disable PluginCheck.CodeAnalysis.Offloading.OffloadedContent -- False positive for this context: these are HTML email bodies and remote documentation/tutorial links in admin help text, not offloaded plugin assets. Audited 2026-07-16.
49 "html"=> __('
50 <span>Revive lost visitors and convert them into customers with captivating Flashing Tab alerts.</span>
51 <video id="pro_alert_video_popup" type="text/html" allowfullscreen width="450" height="235" autoplay loop muted>
52 <source src="https://notificationx.com/wp-content/uploads/2024/01/How-To-Configure-Flashing-Tab-Alert-With-NotificationX.mp4" type="video/mp4">
53 </video>
54 ', 'notificationx')
55 // phpcs:enable PluginCheck.CodeAnalysis.Offloading.OffloadedContent
56 ];
57 }
58
59 }
60