PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / 3.13.4
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell v3.13.4
3.13.4 3.13.3 3.13.2 3.13.1 3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.1 3.12.2 3.12.0 3.11.1 3.11.0 3.10.9 3.10.8 3.10.7 3.10.6 All 262 releases
← All changes | admin/modules/integration/view.php +8 -152 3.12.13 → 3.13.4 View file →
@@ -11,8 +11,11 @@
11 11 }
12 12
13 13 $is_pro_active = apply_filters( 'wpfunnels/is_pro_license_activated', false );
14 14 $is_integration_active = apply_filters( 'wpfunnels/is_integration_license_active', false );
15 +
16 +// Copy and cards are shared with the React screen (GET wpfunnels/v1/integrations).
17 +$banner = \WPFunnels\Rest\Controllers\IntegrationsPageController::get_banner( (bool) $is_pro_active );
15 18 ?>
16 19
17 20 <div class="wpfnl">
18 21 <div class="wpfnl-integrations">
@@ -19,18 +22,8 @@
19 22 <div class="wpfnl-dashboard">
20 23 <nav class="wpfnl-dashboard__nav">
21 24 <?php use WPFunnels\Wpfnl_functions;
22 25 require_once WPFNL_DIR . '/admin/partials/dashboard-nav.php'; ?>
23 -
24 - <?php if ( ! $is_integration_active ) : ?>
25 - <div class="wpfnl-dashboard__nav-right">
26 - <?php if ( $is_pro_active ) : ?>
27 - <a href="https://getwpfunnels.com/pricing/" class="btn-default" target="_blank" title="<?php echo __('Upgrade Plan', 'wpfnl'); ?>" aria-label="<?php echo __('Upgrade Plan', 'wpfnl'); ?>"><?php echo __('Upgrade Plan', 'wpfnl'); ?></a>
28 - <?php else : ?>
29 - <a href="https://getwpfunnels.com/pricing/" class="btn-default" target="_blank" title="<?php echo __('Upgrade to Pro', 'wpfnl'); ?>" aria-label="<?php echo __('Upgrade to Pro', 'wpfnl'); ?>"><?php echo __('Upgrade to Pro', 'wpfnl'); ?></a>
30 - <?php endif; ?>
31 - </div>
32 - <?php endif; ?>
33 26 </nav>
34 27
35 28 <div class="dashboard-nav__content">
36 29 <div class="integrations-content">
@@ -41,158 +34,23 @@
41 34
42 35 <div class="integrations-banner">
43 36 <span class="circle-blur"></span>
44 37 <h1 class="banner-title">
45 - <?php if ( $is_pro_active ) : ?>
46 - <?php echo __('Unlock Every Integration with a Higher Plan', 'wpfnl'); ?>
47 - <?php else : ?>
48 - <?php echo __('Unlock Every Integration with WPFunnels Pro', 'wpfnl'); ?>
49 - <?php endif; ?>
38 + <?php echo $banner['title']; ?>
50 39 </h1>
51 40
52 41 <p class="banner-description">
53 - <?php if ( $is_pro_active ) : ?>
54 - <?php echo __('You are on the Starter plan. Upgrade to the Medium Annual or Large Annual plan to connect ActiveCampaign, Mailchimp, HubSpot, and 15 more CRM & email tools.', 'wpfnl'); ?>
55 - <?php else : ?>
56 - <?php echo __('Connect your favorite marketing tools and automate your sales funnel effortlessly. Unlock all integrations with a single upgrade and streamline your business operations.', 'wpfnl'); ?>
57 - <?php endif; ?>
42 + <?php echo $banner['description']; ?>
58 43 </p>
59 44
60 - <a href="https://getwpfunnels.com/pricing/" class="banner-cta-btn" title="<?php echo $is_pro_active ? __('Upgrade Plan', 'wpfnl') : __('Upgrade to Pro', 'wpfnl'); ?>" target="_blank">
45 + <a href="<?php echo esc_url( $banner['cta_url'] ); ?>" class="banner-cta-btn" title="<?php echo $banner['cta_title']; ?>" target="_blank">
61 46 <svg xmlns="http://www.w3.org/2000/svg" width="17" height="16" viewBox="0 0 17 16" fill="none"><path d="M13.3876 5.99025L11.4214 6.47988L8.9656 3.41968C8.85807 3.28565 8.72182 3.17748 8.56689 3.10315C8.41197 3.02882 8.24233 2.99023 8.07049 2.99023C7.89866 2.99023 7.72902 3.02882 7.57409 3.10315C7.41917 3.17748 7.28291 3.28565 7.17538 3.41968L4.71957 6.47988L2.71514 5.99025C2.52304 5.94427 2.32237 5.94832 2.13228 6.002C1.94219 6.05568 1.76904 6.15721 1.62937 6.29688C1.4897 6.43655 1.38818 6.6097 1.3345 6.79978C1.28082 6.98987 1.27677 7.19055 1.32275 7.38264L2.67689 12.1413C2.72316 12.3067 2.8238 12.4518 2.96259 12.5531C3.10137 12.6545 3.27022 12.7061 3.44194 12.6997H12.6225C12.7943 12.7061 12.9631 12.6545 13.1019 12.5531C13.2407 12.4518 13.3413 12.3067 13.3876 12.1413L14.7494 7.38264C14.7933 7.1936 14.789 6.99653 14.7367 6.80962C14.6843 6.62272 14.5858 6.45201 14.4501 6.31325C14.3144 6.17449 14.1459 6.07216 13.9602 6.01571C13.7745 5.95926 13.5776 5.9505 13.3876 5.99025Z" fill="#2fcf5c"/><path d="M0.956313 5.16397C1.48447 5.16397 1.91263 4.73581 1.91263 4.20766C1.91263 3.6795 1.48447 3.25134 0.956313 3.25134C0.428156 3.25134 0 3.6795 0 4.20766C0 4.73581 0.428156 5.16397 0.956313 5.16397Z" fill="#2fcf5c"/><path d="M15.1106 5.16397C15.6388 5.16397 16.0669 4.73581 16.0669 4.20766C16.0669 3.6795 15.6388 3.25134 15.1106 3.25134C14.5825 3.25134 14.1543 3.6795 14.1543 4.20766C14.1543 4.73581 14.5825 5.16397 15.1106 5.16397Z" fill="#2fcf5c"/><path d="M8.03249 1.91263C8.56064 1.91263 8.9888 1.48447 8.9888 0.956313C8.9888 0.428156 8.56064 0 8.03249 0C7.50433 0 7.07617 0.428156 7.07617 0.956313C7.07617 1.48447 7.50433 1.91263 8.03249 1.91263Z" fill="#2fcf5c"/><path d="M12.6234 15.4924H3.44279C3.23988 15.4924 3.04529 15.4118 2.90181 15.2683C2.75834 15.1248 2.67773 14.9302 2.67773 14.7273C2.67773 14.5244 2.75834 14.3298 2.90181 14.1864C3.04529 14.0429 3.23988 13.9623 3.44279 13.9623H12.6234C12.8263 13.9623 13.0209 14.0429 13.1644 14.1864C13.3078 14.3298 13.3884 14.5244 13.3884 14.7273C13.3884 14.9302 13.3078 15.1248 13.1644 15.2683C13.0209 15.4118 12.8263 15.4924 12.6234 15.4924Z" fill="#2fcf5c"/></svg>
62 - <?php echo $is_pro_active ? __('Upgrade Plan', 'wpfnl') : __('Get WPFunnels Pro', 'wpfnl'); ?>
47 + <?php echo $banner['cta_label']; ?>
63 48 </a>
64 49 </div>
65 50
66 51 <?php
67 - $integrations = array(
68 - array(
69 - 'icon' => WPFNL_URL .'admin/assets/images/integration-active-campaign-icon.svg',
70 - 'title' => 'ActiveCampaign',
71 - 'description' => 'Create advanced automated sequences and tag customers based on funnel behavior.',
72 - 'is_locked' => true,
73 - 'is_new' => true
74 - ),
75 - array(
76 - 'icon' => WPFNL_URL .'admin/assets/images/integration-mailchimp-icon.svg',
77 - 'title' => 'Mailchimp',
78 - 'description' => 'Sync your contacts instantly and trigger personalized email campaigns for every new lead.',
79 - 'is_locked' => true,
80 - 'is_new' => false
81 - ),
82 - array(
83 - 'icon' => WPFNL_URL .'admin/assets/images/integration-mailpoet-icon.svg',
84 - 'title' => 'MailPoet',
85 - 'description' => 'Manage your newsletter and automated emails directly within your WordPress dashboard.',
86 - 'is_locked' => true,
87 - 'is_new' => false
88 - ),
89 - array(
90 - 'icon' => WPFNL_URL .'admin/assets/images/integration-constant-contact-icon.svg',
91 - 'title' => 'Constant Contact',
92 - 'description' => 'Seamlessly move your funnel leads into professional email marketing workflows.',
93 - 'is_locked' => true,
94 - 'is_new' => false
95 - ),
96 - array(
97 - 'icon' => WPFNL_URL .'admin/assets/images/integration-mailerlite-icon.svg',
98 - 'title' => 'MailerLite',
99 - 'description' => 'A simple yet powerful way to capture leads and grow your email subscriber list.',
100 - 'is_locked' => true,
101 - 'is_new' => false
102 - ),
103 - array(
104 - 'icon' => WPFNL_URL .'admin/assets/images/integration-sendinblue-icon.svg',
105 - 'title' => 'Breo (Sendinblue)',
106 - 'description' => 'Send transactional emails and SMS alerts to your customers in real-time.',
107 - 'is_locked' => true,
108 - 'is_new' => false
109 - ),
110 - array(
111 - 'icon' => WPFNL_URL .'admin/assets/images/integration-encharge-icon.svg',
112 - 'title' => 'Encharge',
113 - 'description' => 'Automate your customer journey with behavior-based emails and deep CRM synchronization.',
114 - 'is_locked' => true,
115 - 'is_new' => false
116 - ),
117 - array(
118 - 'icon' => WPFNL_URL .'admin/assets/images/integration-aweber-icon.svg',
119 - 'title' => 'AWeber',
120 - 'description' => 'Automate your lead generation and build long-term relationships with your audience.',
121 - 'is_locked' => true,
122 - 'is_new' => false
123 - ),
124 - array(
125 - 'icon' => WPFNL_URL .'admin/assets/images/integration-convertkit-icon.svg',
126 - 'title' => 'ConvertKit',
127 - 'description' => 'Designed for creators—trigger tailored automations based on specific funnel actions.',
128 - 'is_locked' => true,
129 - 'is_new' => false
130 - ),
131 - array(
132 - 'icon' => WPFNL_URL .'admin/assets/images/integration-hubspot-icon.svg',
133 - 'title' => 'HubSpot',
134 - 'description' => 'Automatically sync funnel data with your CRM to manage your entire sales pipeline.',
135 - 'is_locked' => true,
136 - 'is_new' => false
137 - ),
138 - array(
139 - 'icon' => WPFNL_URL .'admin/assets/images/integration-zoho-icon.svg',
140 - 'title' => 'Zoho CRM',
141 - 'description' => 'Track every customer interaction and organize your leads for better conversion.',
142 - 'is_locked' => true,
143 - 'is_new' => false
144 - ),
145 - array(
146 - 'icon' => WPFNL_URL .'admin/assets/images/integration-zapier-icon.svg',
147 - 'title' => 'Zapier',
148 - 'description' => 'Automate workflows by connecting your favorite apps and services.',
149 - 'is_locked' => true,
150 - 'is_new' => false
151 - ),
152 - array(
153 - 'icon' => WPFNL_URL .'admin/assets/images/integration-getresponse-icon.svg',
154 - 'title' => 'GetResponse',
155 - 'description' => 'Manage your email marketing campaigns and automate your customer journeys.',
156 - 'is_locked' => true,
157 - 'is_new' => false
158 - ),
159 - array(
160 - 'icon' => WPFNL_URL .'admin/assets/images/integration-omnisend-icon.svg',
161 - 'title' => 'Omnisend',
162 - 'description' => 'Enhance your e-commerce marketing with automated workflows and personalized messaging.',
163 - 'is_locked' => true,
164 - 'is_new' => false
165 - ),
166 - array(
167 - 'icon' => WPFNL_URL .'admin/assets/images/integration-wpfusion-icon.svg',
168 - 'title' => 'WPFusion',
169 - 'description' => 'Integrate your WordPress site with your CRM to automate marketing and sales processes.',
170 - 'is_locked' => true,
171 - 'is_new' => false
172 - ),
173 - array(
174 - 'icon' => WPFNL_URL .'admin/assets/images/integration-drip-icon.svg',
175 - 'title' => 'Drip',
176 - 'description' => 'Automate your email marketing campaigns and nurture your leads effectively.',
177 - 'is_locked' => true,
178 - 'is_new' => false
179 - ),
180 - array(
181 - 'icon' => WPFNL_URL .'admin/assets/images/integration-pabblyemail-icon.svg',
182 - 'title' => 'Pabbly Connect',
183 - 'description' => 'Connect your apps and automate workflows seamlessly.',
184 - 'is_locked' => true,
185 - 'is_new' => false
186 - ),
187 - array(
188 - 'icon' => WPFNL_URL .'admin/assets/images/integration-pabblyemail-icon.svg',
189 - 'title' => 'Pabbly Email Marketing',
190 - 'description' => 'Manage your email marketing campaigns and automate your customer journeys.',
191 - 'is_locked' => true,
192 - 'is_new' => false
193 - ),
194 - );
52 + $integrations = \WPFunnels\Rest\Controllers\IntegrationsPageController::get_catalog();
195 53 ?>
196 54
197 55 <div class="integrations-list">
198 56 <div class="integrations-header">
@@ -236,10 +94,8 @@
236 94
237 95 </div>
238 96
239 97 </div>
240 -
241 - <?php require_once WPFNL_DIR . '/admin/partials/helper-resource.php'; ?>
242 98 </div>
243 99
244 100 <script>
245 101 (function() {