HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
File: /datos/www/expodubai/wp-content/plugins/wpcf7-redirect/templates/fields/section.php
<?php
/**
 * Wrapper for each field
 */

defined( 'ABSPATH' ) || exit;
?>

<div class="field-wrap field-wrap-<?php echo $field['name']; ?> <?php echo isset( $field['class'] ) ? $field['class'] : ''; ?> qs-section clearfix" <?php echo isset( $field['attr'] ) ? $field['attr'] : ''; ?>>
	<?php if ( isset( $field['title'] ) && $field['title'] ) : ?>
		<label for="wpcf7-redirect-<?php echo $field['name']; ?>">
			<h3 class="" data-tab-target="section-inner-wrap-<?php echo $field['name']; ?>"><span class="dashicons dashicons-plus-alt"></span> <?php echo esc_html( $field['title'] ); ?></h3>
		</label>
	<?php endif; ?>

	<div class="section-inner-wrap" data-tab="section-inner-wrap-<?php echo $field['name']; ?>">
		<?php if ( isset( $field['sub_title'] ) && $field['sub_title'] ) : ?>
			<label for="wpcf7-redirect-<?php echo $field['name']; ?>">
				<h4><?php echo $field['sub_title']; ?></h4>
			</label>
		<?php endif; ?>
		<div>&nbsp;</div>

		<?php foreach ( $field['fields'] as $child_field ) : ?>
			<?php WPCF7R_Html::render_field( $child_field, $prefix ); ?>
		<?php endforeach; ?>

		<div class="field-footer">
			<?php echo isset( $field['footer'] ) ? $field['footer'] : ''; ?>
		</div>
	</div>
</div>