| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
$data = FrmAppHelper::get_landing_page_upgrade_data_params( 'landing-preview' ); |
| 6 |
$data_keys = array_keys( $data ); |
| 7 |
$params = array(); |
| 8 |
foreach ( $data_keys as $key ) { |
| 9 |
$params[ 'data-' . $key ] = $data[ $key ]; |
| 10 |
} |
| 11 |
$params['class'] = 'frm_show_upgrade frm_noallow'; |
| 12 |
$params['href'] = '#'; |
| 13 |
?> |
| 14 |
<a <?php FrmAppHelper::array_to_html_params( $params, true ); ?>> |
| 15 |
<?php esc_html_e( 'Generate Form Page', 'formidable' ); ?><span class="frm-new-pill"><?php esc_html_e( 'NEW', 'formidable' ); ?></span> |
| 16 |
</a> |
| 17 |
|