HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/TriadGov/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>