[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
suretriggers
/
src
/
Integrations
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 JetEngineCCT
SET
[ DEL ]
📁 academylms
SET
[ DEL ]
📁 advanced-ads
SET
[ DEL ]
📁 advanced-coupons
SET
[ DEL ]
📁 advanced-custom-fields
SET
[ DEL ]
📁 affiliatewp
SET
[ DEL ]
📁 amelia
SET
[ DEL ]
📁 appointment-hour-booking
SET
[ DEL ]
📁 asgaros
SET
[ DEL ]
📁 badgeos
SET
[ DEL ]
📁 bbpress
SET
[ DEL ]
📁 beaver-builder
SET
[ DEL ]
📁 better-messages
SET
[ DEL ]
📁 bricks-builder
SET
[ DEL ]
📁 buddyboss
SET
[ DEL ]
📁 buddypress
SET
[ DEL ]
📁 cartflows
SET
[ DEL ]
📁 clickwhale
SET
[ DEL ]
📁 contact-form7
SET
[ DEL ]
📁 convertpro
SET
[ DEL ]
📁 divi-builder
SET
[ DEL ]
📁 easy-affiliate
SET
[ DEL ]
📁 edd
SET
[ DEL ]
📁 elementor-pro
SET
[ DEL ]
📁 event-calendar
SET
[ DEL ]
📁 events-manager
SET
[ DEL ]
📁 fluent-boards
SET
[ DEL ]
📁 fluent-booking
SET
[ DEL ]
📁 fluent-form
SET
[ DEL ]
📁 fluent-support
SET
[ DEL ]
📁 fluentaffiliate
SET
[ DEL ]
📁 fluentcart
SET
[ DEL ]
📁 fluentcommunity
SET
[ DEL ]
📁 fluentcrm
SET
[ DEL ]
📁 fluentsmtp
SET
[ DEL ]
📁 formidable-forms
SET
[ DEL ]
📁 forminator
SET
[ DEL ]
📁 funnel-kit-automations
SET
[ DEL ]
📁 gamipress
SET
[ DEL ]
📁 geo-directory
SET
[ DEL ]
📁 givewp
SET
[ DEL ]
📁 gravity-form
SET
[ DEL ]
📁 gravity-kit
SET
[ DEL ]
📁 groundhogg
SET
[ DEL ]
📁 happyforms
SET
[ DEL ]
📁 jet-appointments-booking
SET
[ DEL ]
📁 jetengine
SET
[ DEL ]
📁 jetformbuilder
SET
[ DEL ]
📁 jetpack-crm
SET
[ DEL ]
📁 kadence-forms
SET
[ DEL ]
📁 late-point
SET
[ DEL ]
📁 learndash
SET
[ DEL ]
📁 learndash-achievements
SET
[ DEL ]
📁 learnpress
SET
[ DEL ]
📁 lifterlms
SET
[ DEL ]
📁 mail-mint
SET
[ DEL ]
📁 mailerpress
SET
[ DEL ]
📁 mailpoet
SET
[ DEL ]
📁 masteriyo
SET
[ DEL ]
📁 masterstudy-lms
SET
[ DEL ]
📁 memberpress
SET
[ DEL ]
📁 memberpress-course
SET
[ DEL ]
📁 metabox
SET
[ DEL ]
📁 metform
SET
[ DEL ]
📁 modern-events-calendar
SET
[ DEL ]
📁 mycred
SET
[ DEL ]
📁 new-user-approve
SET
[ DEL ]
📁 newsletter
SET
[ DEL ]
📁 ninja-forms
SET
[ DEL ]
📁 ninja-tables
SET
[ DEL ]
📁 paid-memberships-pro
SET
[ DEL ]
📁 paymattic
SET
[ DEL ]
📁 peepso
SET
[ DEL ]
📁 pie-forms
SET
[ DEL ]
📁 powerful-docs
SET
[ DEL ]
📁 presto-player
SET
[ DEL ]
📁 pretty-links
SET
[ DEL ]
📁 profilegrid
SET
[ DEL ]
📁 profilepress
SET
[ DEL ]
📁 projecthuddle
SET
[ DEL ]
📁 raffle-press
SET
[ DEL ]
📁 restrict-content
SET
[ DEL ]
📁 sensei-lms
SET
[ DEL ]
📁 services-for-surecart
SET
[ DEL ]
📁 simply-schedule-appointments
SET
[ DEL ]
📁 slice-wp
SET
[ DEL ]
📁 storeengine
SET
[ DEL ]
📁 support-portal-for-surecart
SET
[ DEL ]
📁 suredash
SET
[ DEL ]
📁 sureforms
SET
[ DEL ]
📁 suremail
SET
[ DEL ]
📁 suremembers
SET
[ DEL ]
📁 thrive-apprentice
SET
[ DEL ]
📁 thrive-leads
SET
[ DEL ]
📁 thrive-ovation
SET
[ DEL ]
📁 triggerbutton
SET
[ DEL ]
📁 tutorlms
SET
[ DEL ]
📁 ultimate-addons-for-gutenberg
SET
[ DEL ]
📁 ultimate-member
SET
[ DEL ]
📁 voxel
SET
[ DEL ]
📁 wishlistmember
SET
[ DEL ]
📁 woocommerce
SET
[ DEL ]
📁 woocommerce-bookings
SET
[ DEL ]
📁 woocommerce-memberships
SET
[ DEL ]
📁 woocommerce-shipstation
SET
[ DEL ]
📁 woocommerce-subscriptions
SET
[ DEL ]
📁 wordpress
SET
[ DEL ]
📁 wp-all-import
SET
[ DEL ]
📁 wp-courseware
SET
[ DEL ]
📁 wp-fusion
SET
[ DEL ]
📁 wp-job-manager
SET
[ DEL ]
📁 wp-polls
SET
[ DEL ]
📁 wp-simple-pay
SET
[ DEL ]
📁 wp-travel-engine
SET
[ DEL ]
📁 wp-user-manager
SET
[ DEL ]
📁 wpadverts
SET
[ DEL ]
📁 wpcafe
SET
[ DEL ]
📁 wpforms
SET
[ DEL ]
📁 wpforo
SET
[ DEL ]
📁 wpfunnels
SET
[ DEL ]
📁 wplms
SET
[ DEL ]
📁 wployalty
SET
[ DEL ]
📁 wpsubscription
SET
[ DEL ]
📁 ws-form
SET
[ DEL ]
📄 AutomateAction.php
4,055 B
SET
[ EDIT ]
|
[ DEL ]
📄 Integrations.php
3,674 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: Integrations.php
<?php /** * Integration base class file * * @package SureTrigger * @since 1.0.0 */ namespace SureTriggers\Integrations; use SureTriggers\Controllers\EventController; if ( ! function_exists( 'is_plugin_active' ) ) { include_once ABSPATH . 'wp-admin/includes/plugin.php'; } /** * Class Integrations * * @package SureTriggers\Integrations */ abstract class Integrations { /** * ID of the integration * * @var string */ protected $id; /** * Integration Name * * @var string */ protected $name; /** * Integration Description * * @var string */ protected $description; /** * Integration icon/logo URL * * @var string */ protected $icon_url; /** * Contains configuration form fields. * * @var array */ protected $config_fields = []; /** * Contains saved configurations * * @var array */ protected $config = []; /** * Contains errors list * * @var array */ protected $errors = []; /** * If the form should be verify or not. * * @var bool */ protected $form_validation = false; /** * Get api key page URL * * @var null|bool */ protected $api_page_url = null; /** * Contains it's actions list, if any. For the future usage * * @var array */ protected $actions = []; /** * Contains it's triggers list, if any. For the future usage * * @var array */ protected $triggers = []; /** * Integrations constructor. */ public function __construct() { $this->process_events(); } /** * Process and get all events * * @return void */ public function process_events() { $events = EventController::get_instance(); if ( ! empty( $events->triggers[ $this->id ] ) ) { $this->triggers = $events->triggers[ $this->id ]; } if ( ! empty( $events->actions[ $this->id ] ) ) { $this->actions = $events->actions[ $this->id ]; } } /** * If enabled or not * * @return bool */ public function is_enabled() { return (bool) $this->is_plugin_installed(); } /** * Check if plugin is installed. * * @return bool */ abstract public function is_plugin_installed(); /** * Returns ID * * @return string */ public function get_id() { return $this->id; } /** * Returns integration name * * @return string */ public function get_name() { return $this->name; } /** * Returns integration description * * @return string */ public function get_description() { return $this->description; } /** * Get the integration URL * * @return string */ public function get_icon_url() { return $this->icon_url; } /** * Get config form fields * * @return array */ public function get_config_fields() { return $this->config_fields; } /** * Get saved * * @return array */ public function get_config() { return $this->config; } /** * Get errors if any * * @return array */ public function get_errors() { return $this->errors; } /** * Determine if the form is require validation. * * @return bool */ public function form_validation() { return $this->form_validation; } /** * Get API key page URL * * @return bool|null */ public function get_api_page_url() { return $this->api_page_url; } /** * Get actions if any * * @return array */ public function get_actions() { return $this->actions; } /** * Get triggers if any * * @return array */ public function get_triggers() { return $this->triggers; } /** * Default validation abstract method (optional) * * @param array $args Form input as $args. * * @return false */ public function validation( $args = [] ) { return false; } }