HEX
Server: Apache
System: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User: u106391720 (10342218)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /homepages/34/d890102484/htdocs/sites/tesoftV2/wp-content/plugins/hyve-lite/build/block/render.php
<?php
/**
 * The wp_kses_post function is used to ensure any HTML that is not allowed in a post will be escaped.
 * 
 * @package Codeinwp/HyveLite
 */

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

$hyve_id = 'hyve-inline-chat';

if ( isset( $attributes['variant'] ) && 'floating' === $attributes['variant'] ) {
	$hyve_id = 'hyve-chat';
}
?>

<div 
<?php
echo wp_kses_data(
	get_block_wrapper_attributes(
		[
			'id' => $hyve_id,
		]
	) 
);
?>
></div>