function ESSBAdminMenuInit3() { global $essb_adminmenu; if (is_admin_bar_showing()) { $essb_adminmenu = new ESSBAdminBarMenu3(); } } } if (ESSBOptionValuesHelper::is_active_module('cachedynamic')) { include_once ESSB3_PLUGIN_ROOT . 'lib/core/cache/essb-dynamic-cache.php'; $cache_mode = ESSBOptionValuesHelper::options_value($essb_options, 'essb_cache_mode'); ESSBDynamicCache::activate($cache_mode); } if (ESSBOptionValuesHelper::is_active_module('precompiled')) { include_once ESSB3_PLUGIN_ROOT . 'lib/core/cache/essb-precompiled.php'; ESSBPrecompiledResources::activate(); } if (ESSBOptionValuesHelper::is_active_module('cachestatic')) { include_once ESSB3_PLUGIN_ROOT . 'lib/core/cache/essb-static-cache.php'; } // dynamic resource builder include_once ESSB3_PLUGIN_ROOT . 'lib/core/essb-resource-builder.php'; include_once ESSB3_PLUGIN_ROOT . 'lib/core/essb-resource-builder-snippets.php'; include_once ESSB3_PLUGIN_ROOT . 'lib/external/mobile-detect/mobile-detect.php'; // include social network related plugin classes if (ESSBOptionValuesHelper::is_active_module('loveyou')) { include_once ESSB3_PLUGIN_ROOT . 'lib/networks/essb-loveyou.php'; define('ESSB3_LOVEYOU_ACTIVE', true); } if (!defined('ESSB3_LIGHTMODE')) { if (ESSBOptionValuesHelper::is_active_module('native')) {