We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 310bdc0 + 0b75af1 commit f4f9f40Copy full SHA for f4f9f40
includes/class-notification.php
@@ -648,7 +648,7 @@ public function replace_all_fields( $text = '' ) {
648
$table .= '<tr class="field-value">';
649
$table .= '<td>';
650
651
- if ( in_array( $value['type'], [ 'multiple_select', 'checkbox_field' ] ) ) {
+ if ( in_array( $value['type'], array( 'multiple_select', 'checkbox_field' ) ) ) {
652
$field_value = is_array( $field_value ) ? $field_value : [];
653
654
if ( $field_value ) {
@@ -661,6 +661,8 @@ public function replace_all_fields( $text = '' ) {
661
} else {
662
$table .= '—';
663
}
664
+ } elseif ( in_array( $value['type'], array( 'google_map' ) ) ) {
665
+ $table .= $field_value['address'];
666
667
$table .= $field_value;
668
0 commit comments