PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.4
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.4
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/FrmFieldHTML.php +2 -28 6.255.4 View file →
@@ -21,23 +21,17 @@
21 21 protected $has_input = false;
22 22
23 23 /**
24 24 * @since 4.0
25 - *
26 - * @param array $args Includes 'field', 'display', and 'values'.
27 - *
28 - * @return void
25 + * @param array $args - Includes 'field', 'display', and 'values'
29 26 */
30 27 public function show_primary_options( $args ) {
31 28 $field = $args['field'];
32 - include FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/html-content.php';
29 + include( FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/html-content.php' );
33 30
34 31 parent::show_primary_options( $args );
35 32 }
36 33
37 - /**
38 - * @return string
39 - */
40 34 public function default_html() {
41 35 return '<div id="frm_field_[id]_container" class="frm_form_field form-field">[description]</div>';
42 36 }
43 37
@@ -54,32 +48,12 @@
54 48
55 49 return $html;
56 50 }
57 51
58 - /**
59 - * @return string
60 - */
61 52 public function get_container_class() {
62 53 return ' frm_html_container';
63 54 }
64 55
65 - /**
66 - * @return string
67 - */
68 56 protected function include_form_builder_file() {
69 57 return FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/field-html.php';
70 - }
71 -
72 - /**
73 - * Overwrite FrmFieldType::should_strip_most_html_before_preparing_display_value.
74 - * An HTML field is not populated from user input.
75 - * It does not need to be passed through FrmAppHelper::strip_most_html.
76 - *
77 - * @since 6.8.3
78 - *
79 - * @param array $atts
80 - * @return bool
81 - */
82 - protected function should_strip_most_html_before_preparing_display_value( $atts ) {
83 - return false;
84 58 }
85 59 }