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/FrmFieldCheckbox.php +7 -38 6.43.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 */
@@ -32,14 +29,17 @@
32 29 return $this->multiple_input_html();
33 30 }
34 31
35 32 protected function include_form_builder_file() {
36 - return $this->include_front_form_file();
33 + return FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/field-multiple.php';
37 34 }
38 35
39 - /**
40 - * @return string[]
41 - */
36 + protected function field_settings_for_type() {
37 + return array(
38 + 'default_blank' => false,
39 + );
40 + }
41 +
42 42 protected function new_field_settings() {
43 43 return array(
44 44 'options' => serialize(
45 45 array(
@@ -49,50 +49,19 @@
49 49 ),
50 50 );
51 51 }
52 52
53 - /**
54 - * Get the type of field being displayed.
55 - *
56 - * @since 4.02.01
57 - * @return array
58 - */
59 - public function displayed_field_type( $field ) {
60 - return array(
61 - $this->type => true,
62 - );
63 - }
64 -
65 - /**
66 - * @return array
67 - */
68 53 protected function extra_field_opts() {
69 54 $form_id = $this->get_field_column( 'form_id' );
70 -
71 55 return array(
72 56 'align' => FrmStylesController::get_style_val( 'check_align', ( empty( $form_id ) ? 'default' : $form_id ) ),
73 57 );
74 58 }
75 59
76 - /**
77 - * @since 4.06
78 - *
79 - * @return void
80 - */
81 - protected function show_priority_field_choices( $args = array() ) {
82 - include FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/radio-images.php';
83 - }
84 -
85 - /**
86 - * @return string
87 - */
88 60 protected function include_front_form_file() {
89 61 return FrmAppHelper::plugin_path() . '/classes/views/frm-fields/front-end/checkbox-field.php';
90 62 }
91 63
92 - /**
93 - * @return bool
94 - */
95 64 protected function show_readonly_hidden() {
96 65 return true;
97 66 }
98 67