PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.0
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.0
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/FrmEntryFormatter.php +3 -38 6.35.0 View file →
@@ -195,25 +195,8 @@
195 195 } else {
196 196 $this->format = 'table';
197 197 }
198 198 }
199 -
200 - /**
201 - * Allows modifying the format property of FrmEntryFormatter object.
202 - *
203 - * @since 5.0.16
204 - *
205 - * @param string $format The format.
206 - * @param array $args Includes `atts`, `entry`.
207 - */
208 - $this->format = apply_filters(
209 - 'frm_entry_formatter_format',
210 - $this->format,
211 - array(
212 - 'atts' => $atts,
213 - 'entry' => $this->entry,
214 - )
215 - );
216 199 }
217 200
218 201 /**
219 202 * Set the array_key property that sets whether the keys in the
@@ -399,26 +382,9 @@
399 382 } else {
400 383 $content = '';
401 384 }
402 385
403 - /**
404 - * Allows modifying the formatted entry values content.
405 - *
406 - * @since 5.0.16
407 - *
408 - * @param string $content The formatted entry values content.
409 - * @param array $args Includes `entry`, `atts`, `format`, `entry_values`.
410 - */
411 - return apply_filters(
412 - 'frm_formatted_entry_values_content',
413 - $content,
414 - array(
415 - 'entry' => $this->entry,
416 - 'atts' => $this->atts,
417 - 'format' => $this->format,
418 - 'entry_values' => $this->entry_values,
419 - )
420 - );
386 + return $content;
421 387 }
422 388
423 389 /**
424 390 * Return the formatted HTML table with entry values
@@ -700,9 +666,9 @@
700 666 * Add a standard row to plain text or html table content
701 667 *
702 668 * @since 2.04
703 669 *
704 - * @param FrmFieldValue $field_value
670 + * @param FrmProFieldValue $field_value
705 671 * @param string $content
706 672 */
707 673 protected function add_standard_row( $field_value, &$content ) {
708 674 if ( $this->format === 'plain_text_block' ) {
@@ -893,10 +859,9 @@
893 859 * @return string|int
894 860 */
895 861 protected function flatten_array( $value ) {
896 862 if ( is_array( $value ) ) {
897 - $separator = isset( $this->atts['array_separator'] ) ? $this->atts['array_separator'] : ', ';
898 - $value = implode( $separator, $value );
863 + $value = implode( ', ', $value );
899 864 }
900 865
901 866 return $value;
902 867 }