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 / gdpr / primary-options.php

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

27 lines 850 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Primary options for gdpr field
4 *
5 * @package Formidable
6 *
7 * @since 6.19
8 *
9 * @var array $field Field array.
10 * @var array $args Includes 'field', 'display', and 'values'.
11 * @var FrmFieldGdpr $this Field type object.
12 */
13
14 if ( ! defined( 'ABSPATH' ) ) {
15 die( 'You are not allowed to call this page directly.' );
16 }
17
18 // Options here need to be declared in FrmFieldGdpr::extra_field_opts().
19 $field_id = $field['id'];
20 ?>
21 <p>
22 <label for="gdpr_agreement_text_<?php echo esc_attr( $field_id ); ?>">
23 <?php esc_html_e( 'Agreement text', 'formidable' ); ?>
24 </label>
25 <input type="text" name="field_options[gdpr_agreement_text_<?php echo esc_attr( $field_id ); ?>]" id="gdpr_agreement_text_<?php echo esc_attr( $field_id ); ?>" value="<?php echo esc_attr( FrmField::get_option( $field, 'gdpr_agreement_text' ) ); ?>">
26 </p>
27