PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / views / frm-fields / back-end / smart-values.php

smart-values.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More trunk, at classes/views/frm-fields/back-end/smart-values.php

31 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Smart values upsell panel.
4 *
5 * @package Formidable
6 *
7 * @var array|string $upgrade_link Arguments or URL used to build the upgrade link.
8 */
9
10 if ( ! defined( 'ABSPATH' ) ) {
11 die( 'You are not allowed to call this page directly.' );
12 }
13 ?>
14 <div class="cta-inside">
15 <p>
16 <?php
17 /* translators: %s: Feature name */
18 $message = __( '%s are not available on your plan. Did you know you can upgrade to PRO to unlock more awesome features?', 'formidable' );
19 printf( esc_html( $message ), '<span class="frm_feature_label">Smart tags</span>' );
20 ?>
21 </p>
22 <p class="frm-h-stack frm-justify-between frm-mt-md frm-mb-2xs">
23 <a href="<?php echo esc_url( FrmAppHelper::admin_upgrade_link( $upgrade_link ) ); ?>" class="button button-primary frm-button-primary" target="_blank" rel="noopener noreferrer">
24 <?php esc_html_e( 'Upgrade', 'formidable' ); ?>
25 </a>
26 <a href="<?php echo esc_url( FrmAppHelper::make_affiliate_url( FrmAppHelper::admin_upgrade_link( $upgrade_link, 'knowledgebase/install-formidable-forms/' ) ) ); ?>" target="_blank" class="frm-link-secondary alignright">
27 <?php esc_html_e( 'Already purchased?', 'formidable' ); ?>
28 </a>
29 </p>
30 </div>
31