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
← All changes | classes/views/frm-fields/front-end/checkbox-field.php +7 -0 6.31 → trunk View file →
@@ -7,8 +7,14 @@
7 7 * Show the checkbox field on the front-end.
8 8 * Extra line breaks show as space on the front-end when
9 9 * the form is double filtered and not minimized.
10 10 *
11 + * @var array $field
12 + * @var string $field_name
13 + * @var bool $read_only
14 + * @var string $html_id
15 + * @var array|null $args
16 + *
11 17 * @phpcs:disable Generic.WhiteSpace.ScopeIndent
12 18 *
13 19 * @since 6.30 Added `$hide_label`.
14 20 *
@@ -81,8 +87,9 @@
81 87
82 88 ?><input type="checkbox" name="<?php echo esc_attr( $field_name ); ?>[<?php echo esc_attr( $other_opt ? $opt_key : '' ); ?>]" id="<?php echo esc_attr( $html_id ); ?>-<?php echo esc_attr( $opt_key ); ?>" value="<?php echo esc_attr( $field_val ); ?>"<?php
83 89
84 90 echo $checked . ' '; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
91 +
85 92 do_action( 'frm_field_input_html', $field );
86 93
87 94 if ( $should_echo_disabled_att ) {
88 95 echo 'disabled="disabled" data-max-reached="1" ';