PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.7
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.7
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/FrmFieldDefault.php +3 -9 6.266.7 View file →
@@ -9,15 +9,14 @@
9 9 class FrmFieldDefault extends FrmFieldType {
10 10
11 11 /**
12 12 * @var bool
13 - *
14 13 * @since 3.0
15 14 */
16 15 protected $holds_email_values = true;
17 16
18 17 /**
19 - * @param string $type
18 + * @param $type string
20 19 *
21 20 * @return void
22 21 */
23 22 protected function set_type( $type ) {
@@ -27,10 +26,8 @@
27 26 parent::set_type( $type );
28 27 }
29 28
30 29 /**
31 - * @param string $name
32 - *
33 30 * @return void
34 31 */
35 32 public function show_on_form_builder( $name = '' ) {
36 33 $field = FrmFieldsHelper::setup_edit_vars( $this->field );
@@ -48,12 +45,9 @@
48 45 }
49 46 }
50 47
51 48 /**
52 - * @param array $args
53 - * @param array $shortcode_atts
54 - *
55 - * @return string
49 + * @return false|string
56 50 */
57 51 public function front_field_input( $args, $shortcode_atts ) {
58 52 $pass_args = array(
59 53 'errors' => $args['errors'],
@@ -64,7 +58,7 @@
64 58 do_action( 'frm_form_field_' . $this->type, $this->field, $args['field_name'], $pass_args );
65 59 $input_html = ob_get_contents();
66 60 ob_end_clean();
67 61
68 - return is_string( $input_html ) ? $input_html : '';
62 + return $input_html;
69 63 }
70 64 }