PluginProbe
OttoKit: All-in-One Automation Platform / 1.0.60
OttoKit: All-in-One Automation Platform v1.0.60
1.1.38 1.1.37 1.1.36 1.1.35 1.1.34 1.1.33 1.1.32 1.1.31 1.1.30 1.1.29 1.1.28 1.1.27 1.1.9 trunk 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.20 All 124 releases
suretriggers / src / Integrations / triggerbutton / triggerbutton.php
triggerbutton.php
55 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 * TriggerButton core integrations file
4 *
5 * @since 1.0.0
6 * @package SureTrigger
7 */
8
9 namespace SureTriggers\Integrations\TriggerButton;
10
11 use SureTriggers\Controllers\IntegrationsController;
12 use SureTriggers\Integrations\Integrations;
13 use SureTriggers\Traits\SingletonLoader;
14
15 /**
16 * Class SureTrigger
17 *
18 * @package SureTriggers\Integrations\TriggerButton
19 */
20 class TriggerButton extends Integrations {
21
22
23
24 use SingletonLoader;
25
26 /**
27 * ID
28 *
29 * @var string
30 */
31 protected $id = 'TriggerButton';
32
33 /**
34 * SureTrigger constructor.
35 */
36 public function __construct() {
37 $this->name = __( 'Trigger Button', 'suretriggers' );
38 $this->description = __( 'A Trigger Button to complete the automation.', 'suretriggers' );
39 $this->icon_url = SURE_TRIGGERS_URL . 'assets/icons/triggerbutton.png';
40 parent::__construct();
41 }
42
43 /**
44 * Is Plugin depended plugin is installed or not.
45 *
46 * @return bool
47 */
48 public function is_plugin_installed() {
49 return true;
50 }
51
52 }
53
54 IntegrationsController::register( TriggerButton::class );
55