esc_html__( 'Form Entries', 'wpforms-lite' ), 'fields' => esc_html__( 'Form Fields', 'wpforms-lite' ), 'templates' => esc_html__( 'Form Templates', 'wpforms-lite' ), 'conditionals' => esc_html__( 'Smart Conditional Logic', 'wpforms-lite' ), 'marketing' => esc_html__( 'Marketing Integrations', 'wpforms-lite' ), 'payments' => esc_html__( 'Payment Forms', 'wpforms-lite' ), 'surveys' => esc_html__( 'Surveys & Polls', 'wpforms-lite' ), 'advanced' => esc_html__( 'Advanced Form Features', 'wpforms-lite' ), 'addons' => esc_html__( 'WPForms Addons', 'wpforms-lite' ), 'support' => esc_html__( 'Customer Support', 'wpforms-lite' ), 'sites' => esc_html__( 'Number of Sites', 'wpforms-lite' ), ); // Maybe load tools page. add_action( 'admin_init', array( $this, 'init' ) ); } /** * Determining if the user is viewing the our page, if so, party on. * * @since 1.5.0 */ public function init() { // Check what page we are on. $page = isset( $_GET['page'] ) ? $_GET['page'] : ''; // Only load if we are actually on the settings page. if ( self::SLUG !== $page ) { return; } add_action( 'admin_enqueue_scripts', array( $this, 'enqueues' ) ); /* * Define the core views for the our tab. */ $this->views = apply_filters( 'wpforms_admin_about_views', array( esc_html__( 'About Us', 'wpforms-lite' ) => array( 'about' ), esc_html__( 'Getting Started', 'wpforms-lite' ) => array( 'getting-started' ), ) ); $license = $this->get_license_type(); if ( ( $license === 'pro' || ! in_array( $license, self::$licenses_top, true ) ) || wpforms_debug() ) { $vs_tab_name = sprintf( /* translators: %1$s - current license type; %2$s - suggested license type. */ esc_html__( '%1$s vs %2$s', 'wpforms-lite' ), ucfirst( $license ), $this->get_next_license( $license ) ); $this->views[ $vs_tab_name ] = array( 'versus' ); } // Determine the current active settings tab. $this->view = ! empty( $_GET['view'] ) ? esc_html( $_GET['view'] ) : self::DEFAULT_TAB; // If the user tries to load an invalid view - fallback to About Us. if ( ! in_array( $this->view, call_user_func_array( 'array_merge', array_values( $this->views ) ), true ) && ! has_action( 'wpforms_admin_about_display_tab_' . sanitize_key( $this->view ) ) ) { $this->view = self::DEFAULT_TAB; } add_action( 'wpforms_admin_page', array( $this, 'output' ) ); // Hook for addons. do_action( 'wpforms_admin_about_init' ); } /** * Enqueue assets for the the page. * * @since 1.5.0 */ public function enqueues() { wp_enqueue_script( 'jquery-matchheight', WPFORMS_PLUGIN_URL . 'assets/js/jquery.matchHeight-min.js', array( 'jquery' ), '0.7.0', false ); } /** * Output the basic page structure. * * @since 1.5.0 */ public function output() { $show_nav = false; foreach ( $this->views as $view ) { if ( in_array( $this->view, (array) $view, true ) ) { $show_nav = true; break; } } ?>
get_license_type(); $next_license = $this->get_next_license( $license ); echo ''; } ?>

view ) { case 'about': $this->output_about(); break; case 'getting-started': $this->output_getting_started(); break; case 'versus': $this->output_versus(); break; default: do_action( 'wpforms_admin_about_display_tab_' . sanitize_key( $this->view ) ); break; } ?>
output_about_info(); $this->output_about_addons(); } /** * Display the General Info section of About tab. * * @since 1.5.8 */ protected function output_about_info() { ?>

WPBeginner, the most popular lead-generation software, OptinMonster, the best WordPress analytics plugin, MonsterInsights, and the more!', 'wpforms-lite' ), [ 'a' => [ 'href' => [], 'rel' => [], 'target' => [], ], ] ), 'https://www.wpbeginner.com/?utm_source=wpformsplugin&utm_medium=pluginaboutpage&utm_campaign=aboutwpforms', 'https://optinmonster.com/?utm_source=wpformsplugin&utm_medium=pluginaboutpage&utm_campaign=aboutwpforms', 'https://www.monsterinsights.com/?utm_source=wpformsplugin&utm_medium=pluginaboutpage&utm_campaign=aboutwpforms' ); ?>

<?php esc_attr_e( 'The WPForms Team photo', 'wpforms-lite' ); ?>

get_am_plugins(); $can_install_plugins = wpforms_can_install( 'plugin' ); ?>
$details ) : $plugin_data = $this->get_plugin_data( $plugin, $details, $all_plugins ); ?>

' . wp_kses_post( $plugin_data['status_text'] ) . '' ); ?>
get_license_type(); $utm_campaign = $license === 'lite' ? 'liteplugin' : 'plugin'; $links = [ 'add-new' => "https://wpforms.com/docs/creating-first-form/?utm_source=WordPress&utm_medium=wpforms-about-page&utm_campaign={$utm_campaign}&utm_content=How to Add a New Form#add-new", 'customize-fields' => "https://wpforms.com/docs/creating-first-form/?utm_source=WordPress&utm_medium=wpforms-about-page&utm_campaign={$utm_campaign}&utm_content=How to Customize Form Fields#customize-fields", 'display-form' => "https://wpforms.com/docs/creating-first-form/?utm_source=WordPress&utm_medium=wpforms-about-page&utm_campaign={$utm_campaign}&utm_content=How to Display Forms on Your Site#display-form", 'right-form-field' => "https://wpforms.com/docs/how-to-choose-the-right-form-field-for-your-forms/?utm_source=WordPress&utm_medium=wpforms-about-page&utm_campaign={$utm_campaign}&utm_content=How to Choose the Right Form Field", 'complete-guide' => "https://wpforms.com/docs/a-complete-guide-to-wpforms-settings/?utm_source=WordPress&utm_medium=wpforms-about-page&utm_campaign={$utm_campaign}&utm_content=A Complete Guide to WPForms Settings", 'gdpr-compliant' => "https://wpforms.com/docs/how-to-create-gdpr-compliant-forms/?utm_source=WordPress&utm_medium=wpforms-about-page&utm_campaign={$utm_campaign}&utm_content=How to Create GDPR Complaint Forms", 'install-activate-addons' => "https://wpforms.com/docs/install-activate-wpforms-addons/?utm_source=WordPress&utm_medium=wpforms-about-page&utm_campaign={$utm_campaign}&utm_content=How to Install and Activate WPForms Addons", ]; ?>

Upgrade to WPForms Pro to unlock all the awesome features and experience
why WPForms is consistently rated the best WordPress form builder.', 'wpforms-lite' ), [ 'br' => [], 'strong' => [], ] ); ?>

9000+ five star ratings (%s) and is active on over 4 million websites.', 'wpforms-lite' ), [ 'strong' => [], ] ), '' . '' . '' . '' . '' ); ?>


', esc_url( wpforms_admin_upgrade_link( 'wpforms-about-page', 'Get WPForms Pro Today' ) ) ); esc_html_e( 'Get WPForms Pro Today and Unlock all the Powerful Features', 'wpforms-lite' ); ?>

50% off regular price, automatically applied at checkout.', 'wpforms-lite' ), [ 'span' => [ 'class' => [], ], ] ); ?>

'Pro', 'Basic' => 'Pro', 'Plus' => 'Pro', 'Pro' => 'Elite', ); return ! empty( $license_pairs[ $current ] ) ? $license_pairs[ $current ] : 'Elite'; } /** * Display the Versus tab content. * * @since 1.5.0 */ protected function output_versus() { $license = $this->get_license_type(); $next_license = $this->get_next_license( $license ); ?>

vs

$name ) { $current = $this->get_license_data( $slug, $license ); $next = $this->get_license_data( $slug, strtolower( $next_license ) ); if ( empty( $current ) || empty( $next ) ) { continue; } $current_status = $current['status']; if ( $current['text'] !== $next['text'] && $current_status === 'full' ) { $current_status = 'partial'; } ?>

', $current['text'] ) ); ?>

', $next['text'] ) ); ?>

', esc_url( wpforms_admin_upgrade_link( 'wpforms-about-page', 'Get WPForms Pro Today' ) ) ); printf( /* translators: %s - next license level. */ esc_html__( 'Get WPForms %s Today and Unlock all the Powerful Features', 'wpforms-lite' ), esc_html( $next_license ) ); ?>

50% off regular price, automatically applied at checkout.', 'wpforms-lite' ), [ 'span' => [ 'class' => [], ], ] ); ?>

[ 'icon' => $images_url . 'plugin-om.png', 'name' => esc_html__( 'OptinMonster', 'wpforms-lite' ), 'desc' => esc_html__( 'Instantly get more subscribers, leads, and sales with the #1 conversion optimization toolkit. Create high converting popups, announcement bars, spin a wheel, and more with smart targeting and personalization.', 'wpforms-lite' ), 'wporg' => 'https://wordpress.org/plugins/optinmonster/', 'url' => 'https://downloads.wordpress.org/plugin/optinmonster.zip', ], 'google-analytics-for-wordpress/googleanalytics.php' => [ 'icon' => $images_url . 'plugin-mi.png', 'name' => esc_html__( 'MonsterInsights', 'wpforms-lite' ), 'desc' => esc_html__( 'The leading WordPress analytics plugin that shows you how people find and use your website, so you can make data driven decisions to grow your business. Properly set up Google Analytics without writing code.', 'wpforms-lite' ), 'wporg' => 'https://wordpress.org/plugins/google-analytics-for-wordpress/', 'url' => 'https://downloads.wordpress.org/plugin/google-analytics-for-wordpress.zip', 'pro' => [ 'plug' => 'google-analytics-premium/googleanalytics-premium.php', 'icon' => $images_url . 'plugin-mi.png', 'name' => esc_html__( 'MonsterInsights Pro', 'wpforms-lite' ), 'desc' => esc_html__( 'The leading WordPress analytics plugin that shows you how people find and use your website, so you can make data driven decisions to grow your business. Properly set up Google Analytics without writing code.', 'wpforms-lite' ), 'url' => 'https://www.monsterinsights.com/?utm_source=wpformsplugin&utm_medium=link&utm_campaign=About%20WPForms', 'act' => 'go-to-url', ], ], 'wp-mail-smtp/wp_mail_smtp.php' => [ 'icon' => $images_url . 'plugin-smtp.png', 'name' => esc_html__( 'WP Mail SMTP', 'wpforms-lite' ), 'desc' => esc_html__( "Improve your WordPress email deliverability and make sure that your website emails reach user's inbox with the #1 SMTP plugin for WordPress. Over 2 million websites use it to fix WordPress email issues.", 'wpforms-lite' ), 'wporg' => 'https://wordpress.org/plugins/wp-mail-smtp/', 'url' => 'https://downloads.wordpress.org/plugin/wp-mail-smtp.zip', 'pro' => [ 'plug' => 'wp-mail-smtp-pro/wp_mail_smtp.php', 'icon' => $images_url . 'plugin-smtp.png', 'name' => esc_html__( 'WP Mail SMTP Pro', 'wpforms-lite' ), 'desc' => esc_html__( "Improve your WordPress email deliverability and make sure that your website emails reach user's inbox with the #1 SMTP plugin for WordPress. Over 2 million websites use it to fix WordPress email issues.", 'wpforms-lite' ), 'url' => 'https://wpmailsmtp.com/?utm_source=wpformsplugin&utm_medium=link&utm_campaign=About%20WPForms', 'act' => 'go-to-url', ], ], 'all-in-one-seo-pack/all_in_one_seo_pack.php' => [ 'icon' => $images_url . 'plugin-aioseo.png', 'name' => esc_html__( 'AIOSEO', 'wpforms-lite' ), 'desc' => esc_html__( "The original WordPress SEO plugin and toolkit that improves your website's search rankings. Comes with all the SEO features like Local SEO, WooCommerce SEO, sitemaps, SEO optimizer, schema, and more.", 'wpforms-lite' ), 'wporg' => 'https://wordpress.org/plugins/all-in-one-seo-pack/', 'url' => 'https://downloads.wordpress.org/plugin/all-in-one-seo-pack.zip', 'pro' => [ 'plug' => 'all-in-one-seo-pack-pro/all_in_one_seo_pack.php', 'icon' => $images_url . 'plugin-aioseo.png', 'name' => esc_html__( 'AIOSEO Pro', 'wpforms-lite' ), 'desc' => esc_html__( "The original WordPress SEO plugin and toolkit that improves your website's search rankings. Comes with all the SEO features like Local SEO, WooCommerce SEO, sitemaps, SEO optimizer, schema, and more.", 'wpforms-lite' ), 'url' => 'https://aioseo.com/?utm_source=wpformsplugin&utm_medium=link&utm_campaign=About%20WPForms', 'act' => 'go-to-url', ], ], 'coming-soon/coming-soon.php' => [ 'icon' => $images_url . 'plugin-seedprod.png', 'name' => esc_html__( 'SeedProd', 'wpforms-lite' ), 'desc' => esc_html__( 'The fastest drag & drop landing page builder for WordPress. Create custom landing pages without writing code, connect them with your CRM, collect subscribers, and grow your audience. Trusted by 1 million sites.', 'wpforms-lite' ), 'wporg' => 'https://wordpress.org/plugins/coming-soon/', 'url' => 'https://downloads.wordpress.org/plugin/coming-soon.zip', 'pro' => [ 'plug' => 'seedprod-coming-soon-pro-5/seedprod-coming-soon-pro-5.php', 'icon' => $images_url . 'plugin-seedprod.png', 'name' => esc_html__( 'SeedProd Pro', 'wpforms-lite' ), 'desc' => esc_html__( 'The fastest drag & drop landing page builder for WordPress. Create custom landing pages without writing code, connect them with your CRM, collect subscribers, and grow your audience. Trusted by 1 million sites.', 'wpforms-lite' ), 'url' => 'https://www.seedprod.com/?utm_source=wpformsplugin&utm_medium=link&utm_campaign=About%20WPForms', 'act' => 'go-to-url', ], ], 'rafflepress/rafflepress.php' => [ 'icon' => $images_url . 'plugin-rp.png', 'name' => esc_html__( 'RafflePress', 'wpforms-lite' ), 'desc' => esc_html__( 'Turn your website visitors into brand ambassadors! Easily grow your email list, website traffic, and social media followers with the most powerful giveaways & contests plugin for WordPress.', 'wpforms-lite' ), 'wporg' => 'https://wordpress.org/plugins/rafflepress/', 'url' => 'https://downloads.wordpress.org/plugin/rafflepress.zip', 'pro' => [ 'plug' => 'rafflepress-pro/rafflepress-pro.php', 'icon' => $images_url . 'plugin-rp.png', 'name' => esc_html__( 'RafflePress Pro', 'wpforms-lite' ), 'desc' => esc_html__( 'Turn your website visitors into brand ambassadors! Easily grow your email list, website traffic, and social media followers with the most powerful giveaways & contests plugin for WordPress.', 'wpforms-lite' ), 'url' => 'https://rafflepress.com/?utm_source=wpformsplugin&utm_medium=link&utm_campaign=About%20WPForms', 'act' => 'go-to-url', ], ], 'pushengage/main.php' => [ 'icon' => $images_url . 'plugin-pushengage.png', 'name' => esc_html__( 'PushEngage', 'wpforms-lite' ), 'desc' => esc_html__( 'Connect with your visitors after they leave your website with the leading web push notification software. Over 10,000+ businesses worldwide use PushEngage to send 9 billion notifications each month.', 'wpforms-lite' ), 'wporg' => 'https://wordpress.org/plugins/pushengage/', 'url' => 'https://downloads.wordpress.org/plugin/pushengage.zip', ], 'instagram-feed/instagram-feed.php' => [ 'icon' => $images_url . 'plugin-sb-instagram.png', 'name' => esc_html__( 'Smash Balloon Instagram Feeds', 'wpforms-lite' ), 'desc' => esc_html__( 'Easily display Instagram content on your WordPress site without writing any code. Comes with multiple templates, ability to show content from multiple accounts, hashtags, and more. Trusted by 1 million websites.', 'wpforms-lite' ), 'wporg' => 'https://wordpress.org/plugins/instagram-feed/', 'url' => 'https://downloads.wordpress.org/plugin/instagram-feed.zip', 'pro' => [ 'plug' => 'instagram-feed-pro/instagram-feed.php', 'icon' => $images_url . 'plugin-sb-instagram.png', 'name' => esc_html__( 'Smash Balloon Instagram Feeds Pro', 'wpforms-lite' ), 'desc' => esc_html__( 'Easily display Instagram content on your WordPress site without writing any code. Comes with multiple templates, ability to show content from multiple accounts, hashtags, and more. Trusted by 1 million websites.', 'wpforms-lite' ), 'url' => 'https://smashballoon.com/instagram-feed/?utm_source=wpformsplugin&utm_medium=link&utm_campaign=About%20WPForms', 'act' => 'go-to-url', ], ], 'custom-facebook-feed/custom-facebook-feed.php' => [ 'icon' => $images_url . 'plugin-sb-fb.png', 'name' => esc_html__( 'Smash Balloon Facebook Feeds', 'wpforms-lite' ), 'desc' => esc_html__( 'Easily display Facebook content on your WordPress site without writing any code. Comes with multiple templates, ability to embed albums, group content, reviews, live videos, comments, and reactions.', 'wpforms-lite' ), 'wporg' => 'https://wordpress.org/plugins/custom-facebook-feed/', 'url' => 'https://downloads.wordpress.org/plugin/custom-facebook-feed.zip', 'pro' => [ 'plug' => 'custom-facebook-feed-pro/custom-facebook-feed.php', 'icon' => $images_url . 'plugin-sb-fb.png', 'name' => esc_html__( 'Smash Balloon Facebook Feeds Pro', 'wpforms-lite' ), 'desc' => esc_html__( 'Easily display Facebook content on your WordPress site without writing any code. Comes with multiple templates, ability to embed albums, group content, reviews, live videos, comments, and reactions.', 'wpforms-lite' ), 'url' => 'https://smashballoon.com/custom-facebook-feed/?utm_source=wpformsplugin&utm_medium=link&utm_campaign=About%20WPForms', 'act' => 'go-to-url', ], ], 'feeds-for-youtube/youtube-feed.php' => [ 'icon' => $images_url . 'plugin-sb-youtube.png', 'name' => esc_html__( 'Smash Balloon YouTube Feeds', 'wpforms-lite' ), 'desc' => esc_html__( 'Easily display YouTube videos on your WordPress site without writing any code. Comes with multiple layouts, ability to embed live streams, video filtering, ability to combine multiple channel videos, and more.', 'wpforms-lite' ), 'wporg' => 'https://wordpress.org/plugins/feeds-for-youtube/', 'url' => 'https://downloads.wordpress.org/plugin/feeds-for-youtube.zip', 'pro' => [ 'plug' => 'youtube-feed-pro/youtube-feed.php', 'icon' => $images_url . 'plugin-sb-youtube.png', 'name' => esc_html__( 'Smash Balloon YouTube Feeds Pro', 'wpforms-lite' ), 'desc' => esc_html__( 'Easily display YouTube videos on your WordPress site without writing any code. Comes with multiple layouts, ability to embed live streams, video filtering, ability to combine multiple channel videos, and more.', 'wpforms-lite' ), 'url' => 'https://smashballoon.com/youtube-feed/?utm_source=wpformsplugin&utm_medium=link&utm_campaign=About%20WPForms', 'act' => 'go-to-url', ], ], 'custom-twitter-feeds/custom-twitter-feed.php' => [ 'icon' => $images_url . 'plugin-sb-twitter.png', 'name' => esc_html__( 'Smash Balloon Twitter Feeds', 'wpforms-lite' ), 'desc' => esc_html__( 'Easily display Twitter content in WordPress without writing any code. Comes with multiple layouts, ability to combine multiple Twitter feeds, Twitter card support, tweet moderation, and more.', 'wpforms-lite' ), 'wporg' => 'https://wordpress.org/plugins/custom-twitter-feeds/', 'url' => 'https://downloads.wordpress.org/plugin/custom-twitter-feeds.zip', 'pro' => [ 'plug' => 'custom-twitter-feeds-pro/custom-twitter-feed.php', 'icon' => $images_url . 'plugin-sb-twitter.png', 'name' => esc_html__( 'Smash Balloon Twitter Feeds Pro', 'wpforms-lite' ), 'desc' => esc_html__( 'Easily display Twitter content in WordPress without writing any code. Comes with multiple layouts, ability to combine multiple Twitter feeds, Twitter card support, tweet moderation, and more.', 'wpforms-lite' ), 'url' => 'https://smashballoon.com/custom-twitter-feeds/?utm_source=wpformsplugin&utm_medium=link&utm_campaign=About%20WPForms', 'act' => 'go-to-url', ], ], 'trustpulse-api/trustpulse.php' => [ 'icon' => $images_url . 'plugin-trustpulse.png', 'name' => esc_html__( 'TrustPulse', 'wpforms-lite' ), 'desc' => esc_html__( 'Boost your sales and conversions by up to 15% with real-time social proof notifications. TrustPulse helps you show live user activity and purchases to help convince other users to purchase.', 'wpforms-lite' ), 'wporg' => 'https://wordpress.org/plugins/trustpulse-api/', 'url' => 'https://downloads.wordpress.org/plugin/trustpulse-api.zip', ], ]; } /** * Get the array of data that compared the license data. * * @since 1.5.0 * * @param string $feature Feature name. * @param string $license License type to get data for. * * @return array|false */ protected function get_license_data( $feature, $license ) { $data = [ 'entries' => [ 'lite' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Entries via Email Only', 'wpforms-lite' ) . '', ], ], 'basic' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Complete Entry Management inside WordPress', 'wpforms-lite' ) . '', ], ], 'plus' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Complete Entry Management inside WordPress', 'wpforms-lite' ) . '', ], ], 'pro' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Complete Entry Management inside WordPress', 'wpforms-lite' ) . '', ], ], ], 'fields' => [ 'lite' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Standard Fields Only', 'wpforms-lite' ) . '', esc_html__( 'Name, Email, Single Line Text, Paragraph Text, Dropdown, Multiple Choice, Checkboxes, Numbers, and Number Slider', 'wpforms-lite' ), ], ], 'basic' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Access to all Standard and Fancy Fields', 'wpforms-lite' ) . '', esc_html__( 'Address, Phone, Website / URL, Date / Time, Password, File Upload, HTML, Pagebreaks, Entry Preview, Section Dividers, Ratings, Rich Text, and Hidden Field', 'wpforms-lite' ), ], ], 'plus' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Access to all Standard and Fancy Fields', 'wpforms-lite' ) . '', esc_html__( 'Address, Phone, Website URL, Date/Time, Password, File Upload, HTML, Pagebreaks, Entry Preview, Section Dividers, Ratings, Rich Text, and Hidden Field', 'wpforms-lite' ), ], ], 'pro' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Access to all Standard and Fancy Fields', 'wpforms-lite' ) . '', esc_html__( 'Address, Phone, Website URL, Date/Time, Password, File Upload, HTML, Pagebreaks, Entry Preview, Section Dividers, Ratings, Rich Text, Hidden, and Payment fields', 'wpforms-lite' ), ], ], ], 'conditionals' => [ 'lite' => [ 'status' => 'none', 'text' => [ '' . esc_html__( 'Not available', 'wpforms-lite' ) . '', ], ], 'basic' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Powerful Form Logic for Building Smart Forms', 'wpforms-lite' ) . '', ], ], 'plus' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Powerful Form Logic for Building Smart Forms', 'wpforms-lite' ) . '', ], ], 'pro' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Powerful Form Logic for Building Smart Forms', 'wpforms-lite' ) . '', ], ], ], 'templates' => [ 'lite' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Basic Form Templates', 'wpforms-lite' ) . '', ], ], 'basic' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Basic Form Templates', 'wpforms-lite' ) . '', ], ], 'plus' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Basic Form Templates', 'wpforms-lite' ) . '', ], ], 'pro' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'All Form Templates including Bonus 100+ pre-made form templates', 'wpforms-lite' ) . '', ], ], ], 'marketing' => [ 'lite' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Limited Marketing Integration', 'wpforms-lite' ) . '', esc_html__( 'Constant Contact only', 'wpforms-lite' ), ], ], 'basic' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Limited Marketing Integration', 'wpforms-lite' ) . '', esc_html__( 'Constant Contact only', 'wpforms-lite' ), ], ], 'plus' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Additional Marketing Integrations', 'wpforms-lite' ) . '', esc_html__( 'Constant Contact, Mailchimp, AWeber, GetResponse, Campaign Monitor, Sendinblue, and Drip', 'wpforms-lite' ), ], ], 'pro' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Additional Marketing Integrations', 'wpforms-lite' ) . '', esc_html__( 'Constant Contact, Mailchimp, AWeber, GetResponse, Campaign Monitor, Sendinblue, and Drip', 'wpforms-lite' ), '', wp_kses( __( 'Bonus: 500+ integrations with Zapier.', 'wpforms-lite' ), [ 'strong' => [], ] ), ], ], 'elite' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'All Marketing Integrations', 'wpforms-lite' ) . '', esc_html__( 'ActiveCampaign, Constant Contact, Mailchimp, AWeber, GetResponse, Campaign Monitor, Salesforce, Sendinblue, and Drip', 'wpforms-lite' ), '', wp_kses( __( 'Bonus: 500+ integrations with Zapier.', 'wpforms-lite' ), [ 'strong' => [], ] ), ], ], 'ultimate' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'All Marketing Integrations', 'wpforms-lite' ) . '', esc_html__( 'ActiveCampaign, Constant Contact, Mailchimp, AWeber, GetResponse, Campaign Monitor, Salesforce, Sendinblue, and Drip', 'wpforms-lite' ), '', wp_kses( __( 'Bonus: 500+ integrations with Zapier.', 'wpforms-lite' ), [ 'strong' => [], ] ), ], ], 'agency' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'All Marketing Integrations', 'wpforms-lite' ) . '', esc_html__( 'ActiveCampaign, Constant Contact, Mailchimp, AWeber, GetResponse, Campaign Monitor, Salesforce, Sendinblue, and Drip', 'wpforms-lite' ), '', wp_kses( __( 'Bonus: 500+ integrations with Zapier.', 'wpforms-lite' ), [ 'strong' => [], ] ), ], ], ], 'payments' => [ 'lite' => [ 'status' => 'none', 'text' => [ '' . esc_html__( 'Not Available', 'wpforms-lite' ) . '', ], ], 'basic' => [ 'status' => 'none', 'text' => [ '' . esc_html__( 'Not Available', 'wpforms-lite' ) . '', ], ], 'plus' => [ 'status' => 'none', 'text' => [ '' . esc_html__( 'Not Available', 'wpforms-lite' ) . '', ], ], 'pro' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Create Payment Forms', 'wpforms-lite' ) . '', esc_html__( 'Accept payments using Stripe, Square, and PayPal', 'wpforms-lite' ), ], ], 'elite' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Create Payment Forms', 'wpforms-lite' ) . '', esc_html__( 'Accept payments using Stripe, Square, PayPal, and Authorize.Net', 'wpforms-lite' ), ], ], 'agency' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Create Payment Forms', 'wpforms-lite' ) . '', esc_html__( 'Accept payments using Stripe, Square, PayPal, and Authorize.Net', 'wpforms-lite' ), ], ], 'ultimate' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Create Payment Forms', 'wpforms-lite' ) . '', esc_html__( 'Accept payments using Stripe, Square, PayPal, and Authorize.Net', 'wpforms-lite' ), ], ], ], 'surveys' => [ 'lite' => [ 'status' => 'none', 'text' => [ '' . esc_html__( 'Not Available', 'wpforms-lite' ) . '', ], ], 'basic' => [ 'status' => 'none', 'text' => [ '' . esc_html__( 'Not Available', 'wpforms-lite' ) . '', ], ], 'plus' => [ 'status' => 'none', 'text' => [ '' . esc_html__( 'Not Available', 'wpforms-lite' ) . '', ], ], 'pro' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Create interactive Surveys and Polls with beautiful reports', 'wpforms-lite' ) . '', ], ], ], 'advanced' => [ 'lite' => [ 'status' => 'none', 'text' => [ '' . esc_html__( 'No Advanced Features', 'wpforms-lite' ) . '', ], ], 'basic' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Limited Advanced Features', 'wpforms-lite' ) . '', esc_html__( 'Multi-page Forms, File Upload Forms, Multiple Form Notifications, Conditional Form Confirmation', 'wpforms-lite' ), ], ], 'plus' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Limited Advanced Features', 'wpforms-lite' ) . '', esc_html__( 'Multi-page Forms, File Upload Forms, Multiple Form Notifications, Conditional Form Confirmation', 'wpforms-lite' ), ], ], 'pro' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'All Advanced Features', 'wpforms-lite' ) . '', esc_html__( 'Multi-page Forms, File Upload Forms, Multiple Form Notifications, Conditional Form Confirmation, Custom CAPTCHA, Offline Forms, Signature Forms', 'wpforms-lite' ), ], ], ], 'addons' => [ 'lite' => [ 'status' => 'none', 'text' => [ '' . esc_html__( 'No Addons Included', 'wpforms-lite' ) . '', ], ], 'basic' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Custom Captcha Addon included', 'wpforms-lite' ) . '', ], ], 'plus' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Email Marketing Addons included', 'wpforms-lite' ) . '', ], ], 'pro' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Pro Addons Included', 'wpforms-lite' ) . '', esc_html__( 'Form Abandonment, Conversational Forms, Frontend Post Submission, User Registration, Geolocation, and more (22 total)', 'wpforms-lite' ), ], ], 'elite' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'All Addons Included', 'wpforms-lite' ) . '', esc_html__( 'Form Abandonment, Conversational Forms, Frontend Post Submission, User Registration, Geolocation, Webhooks, and more (26 total)', 'wpforms-lite' ), ], ], 'ultimate' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'All Addons Included', 'wpforms-lite' ) . '', esc_html__( 'Form Abandonment, Conversational Forms, Frontend Post Submission, User Registration, Geolocation, Webhooks, and more (26 total)', 'wpforms-lite' ), ], ], 'agency' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'All Addons Included', 'wpforms-lite' ) . '', esc_html__( 'Form Abandonment, Conversational Forms, Frontend Post Submission, User Registration, Geolocation, Webhooks, and more (26 total)', 'wpforms-lite' ), ], ], ], 'support' => [ 'lite' => [ 'status' => 'none', 'text' => [ '' . esc_html__( 'Limited Support', 'wpforms-lite' ) . '', ], ], 'basic' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Standard Support', 'wpforms-lite' ) . '', ], ], 'plus' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( 'Standard Support', 'wpforms-lite' ) . '', ], ], 'pro' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Priority Support', 'wpforms-lite' ) . '', ], ], 'elite' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Premium Support', 'wpforms-lite' ) . '', ], ], 'ultimate' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Premium Support', 'wpforms-lite' ) . '', ], ], 'agency' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Premium Support', 'wpforms-lite' ) . '', ], ], ], 'sites' => [ 'basic' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( '1 Site', 'wpforms-lite' ) . '', ], ], 'plus' => [ 'status' => 'partial', 'text' => [ '' . esc_html__( '3 Sites', 'wpforms-lite' ) . '', ], ], 'pro' => [ 'status' => 'full', 'text' => [ '' . esc_html__( '5 Sites', 'wpforms-lite' ) . '', ], ], 'elite' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Unlimited Sites', 'wpforms-lite' ) . '', ], ], 'ultimate' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Unlimited Sites', 'wpforms-lite' ) . '', ], ], 'agency' => [ 'status' => 'full', 'text' => [ '' . esc_html__( 'Unlimited Sites', 'wpforms-lite' ) . '', ], ], ], ]; // Wrong feature? if ( ! isset( $data[ $feature ] ) ) { return false; } // Is a top level license? $is_licenses_top = in_array( $license, self::$licenses_top, true ); // Wrong license type? if ( ! isset( $data[ $feature ][ $license ] ) && ! $is_licenses_top ) { return false; } // Some licenses have partial data. if ( isset( $data[ $feature ][ $license ] ) ) { return $data[ $feature ][ $license ]; } // Top level plans has no feature difference with `pro` plan in most cases. return $is_licenses_top ? $data[ $feature ]['pro'] : $data[ $feature ][ $license ]; } /** * Get the current installation license type (always lowercase). * * @since 1.5.0 * * @return string */ protected function get_license_type() { $type = wpforms_get_license_type(); if ( empty( $type ) ) { $type = 'lite'; } return $type; } } new WPForms_About();