function wpml_link_manager_load_plugin() { global $pagenow; $wpml_auto_loader_instance = WPML_Auto_Loader::get_instance(); $wpml_auto_loader_instance->register(WPML_LINK_MANAGER_PATH . '/'); $package_type = 'Link Manager'; $helper = new WPML_Link_Manager_Helper($package_type); new WPML_Link_Manager($pagenow, $helper); }
// Do not uncomment the following line! // If you need to use this constant, use it in the wp-config.php file //define('ICL_SITEPRESS_DEV_VERSION', '3.2.3-dev'); define('ICL_PLUGIN_PATH', dirname(__FILE__)); define('ICL_PLUGIN_FILE', basename(__FILE__)); define('ICL_PLUGIN_FULL_PATH', basename(ICL_PLUGIN_PATH) . '/' . ICL_PLUGIN_FILE); define('ICL_PLUGIN_FOLDER', basename(ICL_PLUGIN_PATH)); //PHP 5.2 backward compatibility if (!defined('FILTER_SANITIZE_FULL_SPECIAL_CHARS')) { define('FILTER_SANITIZE_FULL_SPECIAL_CHARS', FILTER_SANITIZE_STRING); } require ICL_PLUGIN_PATH . '/inc/functions-helpers.php'; require_once 'lib/Twig/Autoloader.php'; Twig_Autoloader::register(); require_once 'embedded/wpml/commons/autoloader.php'; $wpml_auto_loader_instance = WPML_Auto_Loader::get_instance(); $wpml_auto_loader_instance->register(ICL_PLUGIN_PATH . '/'); require ICL_PLUGIN_PATH . '/inc/wpml-dependencies-check/wpml-bundle-check.class.php'; require ICL_PLUGIN_PATH . '/inc/wpml-private-actions.php'; require ICL_PLUGIN_PATH . '/inc/functions.php'; require ICL_PLUGIN_PATH . '/inc/functions-security.php'; require ICL_PLUGIN_PATH . '/inc/wpml-post-comments.class.php'; require ICL_PLUGIN_PATH . '/inc/icl-admin-notifier.php'; if (!function_exists('filter_input')) { wpml_set_plugin_as_inactive(); add_action('admin_notices', 'wpml_missing_filter_input_notice'); return; } $icl_plugin_url = untrailingslashit(plugin_dir_url(__FILE__)); if ((bool) wpml_get_setting_filter(array(), 'language_domains') === true && isset($_SERVER['HTTP_HOST'])) { global $wpdb, $wpml_include_url_filter;