'; $global_funnel_icon = ''; $checkoutify_icon = ''; // Include plugin functions if not already loaded if (!function_exists('is_plugin_active')) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; } // Load integration icon via output buffering ob_start(); include WPFNL_DIR . '/admin/partials/icons/integration-icon.php'; $integration_addon_icon = ob_get_clean(); // Load storewide checkout icon via output buffering ob_start(); include WPFNL_DIR . '/admin/partials/icons/storewide-checkout-icon.php'; $storewide_checkout_icon = ob_get_clean(); // Define addons array $addons = array( array( 'title' => __('Integrations', 'wpfnl'), 'description' => __('Connect WPFunnels with marketing tools, automate customer journey, sync contacts, and trigger campaigns — all without leaving your funnel.', 'wpfnl'), 'badge' => __('Hot', 'wpfnl'), 'guide_link' => 'https://getwpfunnels.com/docs/funnel-integrations/', 'cta_link' => 'https://getwpfunnels.com/pricing/', 'cta_text' => __('Buy Now', 'wpfnl'), 'icon' => $integration_addon_icon, 'plugin_file' => 'wpfunnels-pro-integrations/wpfunnels-pro-integrations.php', ), array( 'title' => __('Storewide Checkout (Global Funnel)', 'wpfnl'), 'description' => __('Apply a single funnel flow across your entire store and replace the default WooCommerce checkout - no need to create funnels individually.', 'wpfnl'), 'badge' => __('Hot', 'wpfnl'), 'guide_link' => 'https://getwpfunnels.com/docs/global-funnels-for-woocommerce/', 'cta_link' => 'https://getwpfunnels.com/pricing/', 'cta_text' => __('Buy Now', 'wpfnl'), 'icon' => $storewide_checkout_icon, 'plugin_file' => 'wpfunnels-pro/wpfnl-pro.php', ), array( 'title' => __('LMS', 'wpfnl'), 'description' => __('Seamlessly sell and deliver online courses, manage students, and automate access after purchase — all inside your funnel ecosystem.', 'wpfnl'), 'badge' => '', 'guide_link' => 'https://getwpfunnels.com/docs/sales-funnels-for-courses/', 'cta_link' => 'https://getwpfunnels.com/pricing/', 'cta_text' => __('Buy Now', 'wpfnl'), 'icon' => $lms_icon, 'plugin_file' => 'wpfunnels-pro-lms/wpfunnels-pro-lms.php', ), array( 'title' => __('Checkoutify', 'wpfnl'), 'description' => __('Use the most unique checkout field editor for WooCommerce to design and optimize your checkout form with full control.', 'wpfnl'), 'badge' => '', 'guide_link' => 'https://getwpfunnels.com/docs/checkoutify-documentations-guides/', 'cta_link' => 'https://getwpfunnels.com/pricing/', 'cta_text' => __('Buy Now', 'wpfnl'), 'icon' => $checkoutify_icon, 'plugin_file' => 'checkoutify/checkoutify.php', ), ); // Allow plugins to add their own addons $addons = apply_filters('wpfnl_recommended_addons', $addons); ?>