array(), 'table_body_items' => array(), 'table_head_alignment_horizontal' => '', 'table_body_alignment_horizontal' => '', ), $settings ) ); $class = 'stratum-table'; $table_tr = []; $table_td = []; $frontend = new Frontend; ?>
$table_head ) : $current_text_align = ! empty( $table_head[ 'table_content_alignment' ] ) ? $table_head[ 'table_content_alignment' ] : null; $current_bg = ! empty( $table_head[ 'table_head_unique_bgcolor' ] ) ? "style='background: " . esc_attr( $table_head[ 'table_head_unique_bgcolor' ] ) . ";'" : null; $current_text_color = ! empty( $table_head[ 'table_head_unique_text_color' ] ) ? "style='color: " . esc_attr( $table_head[ 'table_head_unique_text_color' ] ) . ";'" : null; $current_icon_color = ! empty( $table_head[ 'table_head_unique_icon_color' ] ) ? "color: " . esc_attr( $table_head[ 'table_head_unique_icon_color' ] ) . ";" : null; $current_media_space = ! empty( $table_head[ 'table_head_icon_margin' ][ 'top' ] ) || ! empty( $table_head[ 'table_head_icon_margin' ][ 'right' ] ) || ! empty( $table_head[ 'table_head_icon_margin' ][ 'bottom' ] ) || ! empty( $table_head[ 'table_head_icon_margin' ][ 'left' ] ) ? "margin: " . $table_head[ 'table_head_icon_margin' ][ 'top' ] . $table_head[ 'table_head_icon_margin' ][ 'unit' ] . ' ' . $table_head[ 'table_head_icon_margin' ][ 'right' ] . $table_head[ 'table_head_icon_margin' ][ 'unit' ] . ' ' . $table_head[ 'table_head_icon_margin' ][ 'bottom' ] . $table_head[ 'table_head_icon_margin' ][ 'unit' ] . ' ' . $table_head[ 'table_head_icon_margin' ][ 'left' ] . $table_head[ 'table_head_icon_margin' ][ 'unit' ] . ";" : null; $icon_style = ! empty( $current_media_space ) || ! empty( $current_icon_color ) ? sprintf( 'style="%1$s %2$s"', esc_attr( $current_media_space ), esc_attr( $current_icon_color ) ) : null; ?> $table_body ) : $row_id = uniqid(); if ( $table_body[ 'table_col_select' ] == 'Row' ) : $table_tr[] = [ 'id' => $row_id, 'type' => $table_body[ 'table_col_select' ] ]; endif; if ( $table_body[ 'table_col_select' ] == 'Col' ) : $table_tr_keys = array_keys( $table_tr ); $last_key = end( $table_tr_keys ); $table_td[] = [ 'row_id' => $table_tr[ $last_key ][ 'id' ], 'type' => $table_body[ 'table_col_select' ], 'title' => esc_html__( $table_body[ 'table_col_title' ] ), 'content_type' => $table_body[ 'table_col_content_type' ], 'table_colspan' => $table_body[ 'table_colspan_body' ], 'template' => $table_body[ 'table_col_template' ], 'editor' => $table_body[ 'table_col_editor' ], 'icon_type' => $table_body[ 'table_col_icon_type' ], 'f4_comp' => isset( $table_body[ '__fa4_migrated' ][ 'table_col_icons' ] ), 'icon' => empty( $table_body[ 'table_col_icon' ] ), 'icons' => $table_body[ 'table_col_icons' ], 'image' => $table_body[ 'table_col_image' ], 'image_size' => $table_body[ 'table_col_image_size' ], 'icon_pos' => $table_body[ 'table_col_pos' ], 'content_align' => $table_body[ 'table_col_content_alignment' ], 'icon_color' => $table_body[ 'table_body_unique_icon_color' ], 'media_space' => $table_body[ 'table_col_margin' ], 'text_color' => $table_body[ 'table_body_unique_text_color' ], 'bg_color' => $table_body[ 'table_body_unique_bgcolor' ], ]; endif; endforeach; for ( $i = 0; $i < count( $table_tr ); $i++ ) : ?>
>
> > 'true' ] ); else: ?> <?php
												echo esc_attr( get_post_meta( $table_head[ 'table_head_image' ][ 'id' ], '_wp_attachment_image_alt', true ) );
												?>
colspan="">
> > 'true' ] ); else: ?> <?php
															echo esc_attr( get_post_meta( $table_td[ $j ][ 'image' ][ 'id' ], '_wp_attachment_image_alt', true ) );
															?> get_builder_content( $table_td[ $j ][ 'template' ], true ); if ( ! empty( $get_template ) ) : echo $get_template; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped else : ?>