HEX
Server: LiteSpeed
System: Linux server315.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: globfdxw (6114)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //home/globfdxw/www/wp-content/plugins/wpforms/pro/templates/admin/payments/single/row-items.php
<?php
/**
 * Single payment entry layout or repeater rows items template.
 *
 * @since 1.9.3
 *
 * @var array $items Items data.
 * @var string $type Field type.
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>

<div class="wpforms-payment-entry-<?php echo esc_attr( $type ); ?>-row">
	<?php foreach ( $items as $data ) : ?>
		<?php $width = wpforms_get_column_width( $data ); ?>
		<div class="wpforms-payment-entry-column" style="--field-layout-column-width: <?php echo esc_attr( $width ); ?>%">
			<?php
				if ( isset( $data['field'] ) && $data['field'] ) {
					echo wpforms_render( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
						'admin/payments/single/field',
						[
							'field' => $data['field'],
						],
						true
					);
				}

				if ( isset( $data['fields'] ) ) {
					foreach ( $data['fields'] as $field_data ) {
						echo wpforms_render( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
							'admin/payments/single/field',
							[
								'field' => $field_data,
							],
							true
						);
					}
				}
			?>
		</div>
	<?php endforeach; ?>
</div>