HEX
Server: Apache
System: Linux 244.240.109.208.host.secureserver.net 5.14.0-611.11.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 3 09:47:37 EST 2025 x86_64
User: icsla (1002)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/icsla/public_html/wp-content/plugins/megamenu/integration/divi/functions.php
<?php
/**
 * Divi integration bootstrap. Only included when the active template is 'divi'.
 * Sub-files load only for Divi 5+.
 *
 * @package megamenu
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$megamenu_divi_theme  = wp_get_theme();
$megamenu_divi_parent = $megamenu_divi_theme->parent();
$megamenu_divi_ver    = $megamenu_divi_parent instanceof WP_Theme
	? $megamenu_divi_parent->get( 'Version' )
	: $megamenu_divi_theme->get( 'Version' );

if ( ! is_string( $megamenu_divi_ver ) || '' === $megamenu_divi_ver || version_compare( $megamenu_divi_ver, '5', '<' ) ) {
	return;
}

require_once __DIR__ . '/scss.php';
require_once __DIR__ . '/admin-notice.php';
require_once __DIR__ . '/location-settings-display-options.php';
require_once __DIR__ . '/location/module.php';