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/wpml/functions.php
<?php
/**
 * WPML integration bootstrap for Max Mega Menu.
 *
 * Uses only generic core hooks:
 *
 * - `megamenu_css_transient_key`, `megamenu_css_filename`, `megamenu_after_delete_cache` — CSS cache scoping per language.
 * - {@see 'megamenu_nav_menu_objects_after'} — add flyout class to WPML language-switcher items.
 *
 * @package MegaMenu
 */

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

require_once __DIR__ . '/class-megamenu-integration-wpml.php';
require_once __DIR__ . '/scss.php';

add_action( 'plugins_loaded', [ 'Mega_Menu_Integration_Wpml', 'maybe_boot' ], 11 );