HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/confeduphaar/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>