PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / 3.3.3
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar v3.3.3
3.3.3 3.3.2 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 All 158 releases
← All changes | includes/Extensions/IFTTT/IFTTT.php +54 -0 0.2.5.5 → 3.3.3 View file →
@@ -1,0 +1,54 @@
1 +<?php
2 +/**
3 + * IFTTT Extension
4 + *
5 + * @package NotificationX\Extensions
6 + */
7 +
8 +namespace NotificationX\Extensions\IFTTT;
9 +
10 +use NotificationX\GetInstance;
11 +use NotificationX\Extensions\Extension;
12 +
13 +/**
14 + * IFTTT Extension
15 + * @method static IFTTT get_instance($args = null)
16 + */
17 +class IFTTT extends Extension {
18 + /**
19 + * Instance of IFTTT
20 + *
21 + * @var IFTTT
22 + */
23 + use GetInstance;
24 +
25 + public $id = 'ifttt';
26 + public $img = '';
27 + public $doc_link = 'https://notificationx.com/docs/ifttt-notification-alert/';
28 + public $types = 'email_subscription';
29 + public $module = 'modules_ifttt';
30 + public $is_pro = true;
31 +
32 + /**
33 + * Initially Invoked when initialized.
34 + */
35 + public function __construct(){
36 + parent::__construct();
37 + }
38 +
39 + public function init_extension()
40 + {
41 + $this->title = __('IFTTT', 'notificationx');
42 + $this->module_title = __('IFTTT', 'notificationx');
43 + }
44 +
45 + /**
46 + * Get data for IFTTT Extension.
47 + *
48 + * @param array $args Settings arguments.
49 + * @return array
50 + */
51 + public function get_data( $args = array() ){
52 + return 'Hello From IFTTT';
53 + }
54 +}