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/controllers/FrmSimpleBlocksController.php +2 -11 6.35.4 View file →
@@ -6,10 +6,8 @@
6 6 class FrmSimpleBlocksController {
7 7
8 8 /**
9 9 * Enqueue Formidable Simple Blocks' js and CSS for editor in admin.
10 - *
11 - * @return void
12 10 */
13 11 public static function block_editor_assets() {
14 12 $version = FrmAppHelper::plugin_version();
15 13
@@ -91,10 +89,8 @@
91 89 }
92 90
93 91 /**
94 92 * Registers simple form block
95 - *
96 - * @return void
97 93 */
98 94 public static function register_simple_form_block() {
99 95 if ( ! is_callable( 'register_block_type' ) ) {
100 96 return;
@@ -134,9 +130,10 @@
134 130
135 131 /**
136 132 * Renders a form given the specified attributes.
137 133 *
138 - * @param array $attributes
134 + * @param $attributes
135 + *
139 136 * @return string
140 137 */
141 138 public static function simple_form_render( $attributes ) {
142 139 if ( ! isset( $attributes['formId'] ) ) {
@@ -141,14 +138,8 @@
141 138 public static function simple_form_render( $attributes ) {
142 139 if ( ! isset( $attributes['formId'] ) ) {
143 140 return '';
144 141 }
145 -
146 - /**
147 - * @since 5.5.2
148 - * @param array $attributes
149 - */
150 - do_action( 'frm_before_simple_form_render', $attributes );
151 142
152 143 $params = array_filter( $attributes );
153 144 $params['id'] = $params['formId'];
154 145 unset( $params['formId'] );