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/styles/_check-box-radio-fields.php +23 -8 6.31 → trunk View file →
@@ -63,17 +63,27 @@
63 63 class="frm-style-item-heading"><?php esc_html_e( 'Check Box', 'formidable' ); ?></label>
64 64 </div>
65 65 <div class="frm7 frm_form_field">
66 66 <?php
67 + $align_options = array(
68 + 'block' => __( 'One Column', 'formidable' ),
69 + 'inline' => __( 'Inline Options', 'formidable' ),
70 + );
71 +
72 + /**
73 + * @since 6.32
74 + *
75 + * @param array $align_options
76 + * @param array $atts
77 + */
78 + $checkbox_align_options = apply_filters( 'frm_checkbox_align_options', $align_options, $atts );
79 +
67 80 new FrmDropdownStyleComponent(
68 81 $frm_style->get_field_name( 'check_align' ),
69 82 $style->post_content['check_align'],
70 83 array(
71 84 'id' => 'frm_check_align',
72 - 'options' => array(
73 - 'block' => esc_html__( 'Multiple Rows', 'formidable' ),
74 - 'inline' => esc_html__( 'Single Row', 'formidable' ),
75 - ),
85 + 'options' => $checkbox_align_options,
76 86 )
77 87 );
78 88 ?>
79 89 </div>
@@ -84,17 +94,22 @@
84 94 class="frm-style-item-heading"><?php esc_html_e( 'Radio', 'formidable' ); ?></label>
85 95 </div>
86 96 <div class="frm7 frm_form_field">
87 97 <?php
98 + /**
99 + * @since 6.32
100 + *
101 + * @param array $align_options
102 + * @param array $atts
103 + */
104 + $radio_align_options = apply_filters( 'frm_radio_align_options', $align_options, $atts );
105 +
88 106 new FrmDropdownStyleComponent(
89 107 $frm_style->get_field_name( 'radio_align' ),
90 108 $style->post_content['radio_align'],
91 109 array(
92 110 'id' => 'frm_radio_align',
93 - 'options' => array(
94 - 'block' => esc_html__( 'Multiple Rows', 'formidable' ),
95 - 'inline' => esc_html__( 'Single Row', 'formidable' ),
96 - ),
111 + 'options' => $radio_align_options,
97 112 )
98 113 );
99 114 ?>
100 115 </div>