HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/flbestac/public_html/wp-content/plugins/essential-blocks/views/forms/wpforms.php
<?php
	/**
	 * @var string $blockId
	 */

	$_wrapper_classes = array(
		"eb-parent-$blockId",
		$classHook,
	);

	$_form_wrapper_classes = array(
		$blockId,
		'eb-wpforms-wrapper',
	);

	if ( array_key_exists( $formAlignment, $alignment ) ) {
		$_form_wrapper_classes[] = $alignment[ $formAlignment ];
	}

	if ( $customCheckboxStyle ) {
		$_form_wrapper_classes[] = 'eb-wpforms-custom-radio-checkbox';
	}

	if ( ! $showLabels ) {
		$_form_wrapper_classes[] = 'eb-wpforms-hide-labels';
	}

	if ( ! $showPlaceholder ) {
		$_form_wrapper_classes[] = 'eb-wpforms-hide-placeholder';
	}

	if ( ! $showErrorMessage ) {
		$_form_wrapper_classes[] = 'eb-wpforms-hide-errormessage';
	}

	$wrapper_attributes = get_block_wrapper_attributes(
        [
            'class' => 'root-' . $blockId
        ]
    );
	?>

<div
	<?php echo wp_kses_data($wrapper_attributes); ?>>
	<div class="<?php echo esc_attr( implode( ' ', $_wrapper_classes ) ); ?> eb-parent-wrapper">
		<div class="<?php echo esc_attr( implode( ' ', $_form_wrapper_classes ) ); ?>">
			<?php wpforms_display( $formId ); ?>
		</div>
	</div>
</div>