if (class_exists('ESSBDynamicCache')) { ESSBDynamicCache::flush(); } if (function_exists('purge_essb_cache_static_cache')) { purge_essb_cache_static_cache(); } printf('<div class="essb-information-box"><div class="icon"><i class="fa fa-info-circle"></i></div><div class="inner">%1$s</div></div>', __('Easy Social Share Buttons for WordPress Cache is purged!', ESSB3_TEXT_DOMAIN)); } if ($rebuild_resource == "true") { if (class_exists('ESSBPrecompiledResources')) { ESSBPrecompiledResources::flush(); } } if ($current_tab == "analytics") { $settings_url = esc_url_raw(get_admin_url() . 'admin.php?page=essb_options&tab=social§ion=sharing&subsection=sharing-6'); if (!ESSBOptionValuesHelper::is_active_module('ssanalytics')) { printf('<div class="essb-information-box"><div class="icon orange"><i class="fa fa-info-circle"></i></div><div class="inner">%1$s<a href="%2$s" class="button float_right">%3$s</a></div></div>', __('Statistics function in not activated!', ESSB3_TEXT_DOMAIN), $settings_url, __('Click here to go to settings and activte it', ESSB3_TEXT_DOMAIN)); } } ?> <div class="essb-title-panel"> <div class="essb-logo-container"> <div class="essb-logo essb-logo32"></div> </div> <?php $easy_mode_state = defined('ESSB3_LIGHTMODE') ? "deactivate" : "activate"; ?>
// include widget class include_once ESSB3_PLUGIN_ROOT . 'lib/modules/social-followers-counter/essb-social-followers-counter-widget.php'; include_once ESSB3_PLUGIN_ROOT . 'lib/modules/social-followers-counter/essb-social-followers-counter.php'; } if (!defined('ESSB3_LIGHTMODE')) { if (ESSBOptionValuesHelper::is_active_module('metricslite')) { define('ESSB3_ESML_ACTIVE', 'true'); include_once ESSB3_PLUGIN_ROOT . 'lib/modules/social-metrics-lite/easy-social-metrics-lite.php'; } if (ESSBOptionValuesHelper::is_active_module('topsocialposts')) { define('ESSB3_ESML_TOPPOSTS_ACTIVE', 'true'); include_once ESSB3_PLUGIN_ROOT . 'lib/modules/top-posts-widget/essb-top-posts-widget.php'; } } if (ESSBOptionValuesHelper::is_active_module('cachedcounters')) { define('ESSB3_CACHED_COUNTERS', true); include_once ESSB3_PLUGIN_ROOT . 'lib/core/share-counters/essb-cached-counters.php'; if (ESSBOptionValuesHelper::is_active_module('counterrecovery')) { define('ESSB3_SHARED_COUNTER_RECOVERY', true); } } // click to tweet module if (ESSBOptionValuesHelper::is_active_module('ctt')) { include_once ESSB3_PLUGIN_ROOT . 'lib/modules/click-to-tweet/essb-click-to-tweet.php'; } // visual composer element bridge include_once ESSB3_PLUGIN_ROOT . 'lib/modules/visual-composer/essb-visual-composer-map.php'; include_once ESSB3_PLUGIN_ROOT . 'lib/core/essb-counters-helper.php'; include_once ESSB3_PLUGIN_ROOT . 'lib/core/essb-core-helper.php'; include_once ESSB3_PLUGIN_ROOT . 'lib/core/essb-button-helper.php'; include_once ESSB3_PLUGIN_ROOT . 'lib/essb-core.php';