PluginProbe
OttoKit: All-in-One Automation Platform / 1.1.30
OttoKit: All-in-One Automation Platform v1.1.30
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 / advanced-forms / advanced-forms.php
advanced-forms.php
53 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * AdvancedForms core integrations file
4 *
5 * @since 1.0.0
6 * @package SureTrigger
7 */
8
9 namespace SureTriggers\Integrations\AdvancedForms;
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\AdvancedForms
19 */
20 class AdvancedForms extends Integrations {
21
22 use SingletonLoader;
23
24 /**
25 * ID
26 *
27 * @var string
28 */
29 protected $id = 'AdvancedForms';
30
31 /**
32 * SureTrigger constructor.
33 */
34 public function __construct() {
35 $this->name = __( 'Advanced Forms for ACF', 'suretriggers' );
36 $this->description = __( 'Advanced Forms for ACF lets you create powerful front-end forms using Advanced Custom Fields.', 'suretriggers' );
37 $this->icon_url = SURE_TRIGGERS_URL . 'assets/icons/advanced-forms.svg';
38 parent::__construct();
39 }
40
41 /**
42 * Is Plugin depended plugin is installed or not.
43 *
44 * @return bool
45 */
46 public function is_plugin_installed() {
47 return function_exists( 'af' );
48 }
49
50 }
51
52 IntegrationsController::register( AdvancedForms::class );
53