PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 3.06.06
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v3.06.06
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
← All changes | classes/models/fields/FrmFieldHidden.php +2 -22 6.263.06.06 View file →
@@ -1,8 +1,5 @@
1 1 <?php
2 -if ( ! defined( 'ABSPATH' ) ) {
3 - die( 'You are not allowed to call this page directly.' );
4 -}
5 2
6 3 /**
7 4 * @since 3.0
8 5 */
@@ -9,9 +6,8 @@
9 6 class FrmFieldHidden extends FrmFieldType {
10 7
11 8 /**
12 9 * @var string
13 - *
14 10 * @since 3.0
15 11 */
16 12 protected $type = 'hidden';
17 13
@@ -16,9 +12,8 @@
16 12 protected $type = 'hidden';
17 13
18 14 /**
19 15 * @var bool
20 - *
21 16 * @since 3.0
22 17 */
23 18 protected $has_input = false;
24 19
@@ -23,9 +18,8 @@
23 18 protected $has_input = false;
24 19
25 20 /**
26 21 * @var bool
27 - *
28 22 * @since 3.0
29 23 */
30 24 protected $has_html = false;
31 25
@@ -30,26 +24,15 @@
30 24 protected $has_html = false;
31 25
32 26 /**
33 27 * @var bool
34 - *
35 28 * @since 3.0
36 29 */
37 30 protected $holds_email_values = true;
38 31
39 - /**
40 - * @var bool
41 - */
42 - protected $array_allowed = false;
43 -
44 - /**
45 - * @return array
46 - */
47 32 protected function field_settings_for_type() {
48 - $settings = parent::field_settings_for_type();
49 - $settings['css'] = false;
50 - $settings['default'] = true;
51 -
33 + $settings = parent::field_settings_for_type();
34 + $settings['css'] = false;
52 35 return $settings;
53 36 }
54 37
55 38 protected function include_form_builder_file() {
@@ -55,11 +38,8 @@
55 38 protected function include_form_builder_file() {
56 39 return FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/field-hidden.php';
57 40 }
58 41
59 - /**
60 - * @return string
61 - */
62 42 protected function html5_input_type() {
63 43 return 'hidden';
64 44 }
65 45 }