$extraMenus, 'base_url' => admin_url('admin.php?page=fluent_forms_add_ons'), 'current_menu_item' => $current_menu_item ]); } /** * Show the add-ons list. */ public function showFluentAddOns() { wp_enqueue_script('fluentform-modules'); $addOns = apply_filters('fluentform_global_addons', []); $addOns['slack'] = [ 'title' => 'Slack', 'description' => 'Get realtime notification in slack channel when a new submission will be added.', 'logo' => App::publicUrl('img/integrations/slack.png'), 'enabled' => App\Helpers\Helper::isSlackEnabled() ? 'yes' : 'no', 'config_url' => '', 'category' => 'crm' ]; if (!defined('FLUENTFORMPRO')) { $addOns = array_merge($addOns, $this->getPremiumAddOns()); } wp_localize_script('fluentform-modules', 'fluent_addon_modules', [ 'addons' => $addOns, 'has_pro' => defined('FLUENTFORMPRO') ]); View::render('admin.addons.list', []); } public function updateAddOnsStatus() { $addons = wp_unslash($_REQUEST['addons']); update_option('fluentform_global_modules_status', $addons, 'no'); wp_send_json_success([ 'message' => 'Status successfully updated' ], 200); } public function getPremiumAddOns() { $purchaseUrl = fluentform_upgrade_url(); return array( 'paypal' => array( 'title' => 'PayPal', 'description' => 'Accept Payments via paypal as a part of your form submission', 'logo' => App::publicUrl('img/integrations/paypal.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'payment' ), 'stripe' => array( 'title' => 'Stripe', 'description' => 'Accept Payments via stripe as a part of your form submission', 'logo' => App::publicUrl('img/integrations/stripe.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'payment' ), 'UserRegistration' => array( 'title' => 'User Registration', 'description' => 'Create WordPress user when when a form is submitted', 'logo' => App::publicUrl('img/integrations/user_registration.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'wp_core' ), 'PostFeeds' => array( 'title' => 'Advanced Post/CPT Creation', 'description' => 'Create post/any cpt on form submission. It will enable many new features including dedicated post fields.', 'logo' => App::publicUrl('img/integrations/post-creation.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'wp_core' ), 'sharePages' => array( 'title' => 'Landing Pages', 'description' => 'Create completely custom "distraction-free" form landing pages to boost conversions', 'logo' => App::publicUrl('img/integrations/landing_pages.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'wp_core' ), 'webhook' => array( 'title' => 'WebHooks', 'description' => 'Broadcast your Fluent Forms Submission to any web api endpoint with the powerful webhook module.', 'logo' => App::publicUrl('img/integrations/webhook.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'zapier' => array( 'title' => 'Zapier', 'description' => 'Connect your Fluent Forms data with Zapier and push data to thousands of online softwares.', 'logo' => App::publicUrl('img/integrations/zapier.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'trello' => array( 'title' => 'Trello', 'description' => 'Fluent Forms Trello Module allows you to create Trello card from submiting forms.', 'logo' => App::publicUrl('img/integrations/trello.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'google_sheet' => array( 'title' => 'Google Sheet', 'description' => 'Add Fluent Forms Submission to Google sheets when a form is submitted.', 'logo' => App::publicUrl('img/integrations/google-sheets.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'activecampaign' => array( 'title' => 'ActiveCampaign', 'description' => 'Fluent Forms ActiveCampaign Module allows you to create ActiveCampaign list signup forms in WordPress, so you can grow your email list.', 'logo' => App::publicUrl('img/integrations/activecampaign.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'campaign_monitor' => array( 'title' => 'Campaign Monitor', 'description' => 'Fluent Forms Campaign Monitor module allows you to create Campaign Monitor newsletter signup forms in WordPress, so you can grow your email list.', 'logo' => App::publicUrl('img/integrations/campaignmonitor.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'constatantcontact' => array( 'title' => 'Constant Contact', 'description' => 'Connect Constant Contact with Fluent Forms and create subscriptions forms right into WordPress and grow your list.', 'logo' => App::publicUrl('img/integrations/constantcontact.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'convertkit' => array( 'title' => 'ConvertKit', 'description' => 'Connect ConvertKit with Fluent Forms and create subscription forms right into WordPress and grow your list.', 'logo' => App::publicUrl('img/integrations/convertkit.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'getresponse' => array( 'title' => 'GetResponse', 'description' => 'Fluent Forms GetResponse module allows you to create GetResponse newsletter signup forms in WordPress, so you can grow your email list.', 'logo' => App::publicUrl('img/integrations/getresponse.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'hubspot' => array( 'title' => 'Hubspot', 'description' => 'Connect HubSpot with Fluent Forms and subscribe a contact when a form is submitted.', 'logo' => App::publicUrl('img/integrations/hubspot.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'icontact' => array( 'title' => 'iContact', 'description' => 'Connect iContact with Fluent Forms and subscribe a contact when a form is submitted.', 'logo' => App::publicUrl('img/integrations/icontact.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'platformly' => array( 'title' => 'Platformly', 'description' => 'Connect Platform.ly with Fluent Forms and subscribe a contact when a form is submitted.', 'logo' => App::publicUrl('img/integrations/platformly.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'moosend' => array( 'title' => 'MooSend', 'description' => 'Connect MooSend with Fluent Forms and subscribe a contact when a form is submitted.', 'logo' => App::publicUrl('img/integrations/moosend_logo.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'sendfox' => array( 'title' => 'SendFox', 'description' => 'Connect SendFox with Fluent Forms and subscribe a contact when a form is submitted.', 'logo' => App::publicUrl('img/integrations/sendfox.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'mailerlite' => array( 'title' => 'MailerLite', 'description' => 'Connect your Fluent Forms with MailerLite and add subscribers easily.', 'logo' => App::publicUrl('img/integrations/mailerlite.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'sms_notifications' => array( 'title' => 'SMS Notification', 'description' => 'Send SMS in real time when a form is submitted with Twilio.', 'logo' => App::publicUrl('img/integrations/twilio.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'get_gist' => array( 'title' => 'Gist', 'description' => 'GetGist is Easy to use all-in-one software for live chat, email marketing automation, forms, knowledge base, and more for a complete 360° view of your contacts.', 'logo' => App::publicUrl('img/integrations/getgist.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'sendinblue' => array( 'title' => 'SendInBlue', 'description' => 'Fluent Forms Sendinblue Module allows you to create contacts on your list, so you can grow your email list.', 'logo' => App::publicUrl('img/integrations/sendinblue.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'drip' => array( 'title' => 'Drip', 'description' => 'Fluent Forms Drip Module allows you to create contacts on your Drip list, so you can grow your email list.', 'logo' => App::publicUrl('img/integrations/drip.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'discord' => array( 'title' => 'Discord', 'description' => 'Send notification with form data to your Discord channel when a form is submitted', 'logo' => App::publicUrl('img/integrations/discord.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'telegram' => array( 'title' => 'Telegram', 'description' => 'Send notification to Telegram channel or group when a form is submitted', 'logo' => App::publicUrl('img/integrations/telegram.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'affiliateWp' => array( 'title' => 'AffiliateWP', 'description' => 'Generate AffiliateWP referrals automatically when a customer is referred to your site via an affiliate link', 'logo' => App::publicUrl('img/integrations/affiliatewp.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'clicksend_sms_notification' => array( 'title' => 'ClickSend', 'description' => 'Send SMS in real time when a form is submitted with ClickSend', 'logo' => App::publicUrl('img/integrations/clicksend.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'zohocrm' => array( 'title' => 'Zoho CRM', 'description' => 'Zoho CRM is an online Sales CRM software that manages your sales, marketing and support in one CRM platform.', 'logo' => App::publicUrl('img/integrations/zohocrm.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'cleverreach' => array( 'title' => 'CleverReach', 'description' => 'CleverReach is web-based email marketing software for managing email campaigns and contacts. Use Fluent Forms to grow your CleverReach subscriber list', 'logo' => App::publicUrl('img/integrations/clever_reach.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'salesflare' => array( 'title' => 'Salesflare', 'description' => 'Create Salesflare contact from WordPress, so you can grow your contact list', 'logo' => App::publicUrl('img/integrations/salesflare.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'automizy' => array( 'title' => 'Automizy', 'description' => 'Connect Automizy with Fluent Forms and subscribe a contact when a form is submitted.', 'logo' => App::publicUrl('img/integrations/automizy.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), 'salesforce' => array( 'title' => 'Salesforce', 'description' => 'Salesforce is the world’s #1 customer relationship management (CRM) platform. It helps your marketing, sales, commerce, service and IT teams work as one from anywhere — so you can keep your customers happy everywhere.', 'logo' => App::publicUrl('img/integrations/salesforce.png'), 'enabled' => 'no', 'purchase_url' => $purchaseUrl, 'category' => 'crm' ), ); } }