HEX
Server: Apache
System: Linux web5.visualcom.es 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: ensaco.es (10019)
PHP: 8.3.32
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/ensaco.es/httpdocs/wp-content/plugins/bb-plugin/includes/ui-legacy-settings.php
<?php

/**
 * PLEASE NOTE: This file is only around for backwards compatibility
 * with third party settings forms that are still being rendered via
 * AJAX. Going forward, all settings forms should be rendered on the
 * frontend using FLBuilderSettingsForms.render.
 */

$id = FLBuilderModel::uniqid( 'fl-lightbox-content-placeholder' );

?>
<div id="<?php echo $id; ?>"></div>
<script class="fl-legacy-settings">

var config = <?php echo json_encode( $form ); ?>,
	wrap   = jQuery( '#<?php echo $id; ?>' ).closest( '.fl-builder-lightbox' ),
	id     = wrap.attr( 'data-instance-id' );

config.lightbox = FLLightbox._instances[ id ];

FLBuilderSettingsForms.render( config );

</script>