*/ /* Copyright 2016 - 2024 - Benjamin Denis (email : contact@seopress.org) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)'); function siteseo_migration_tool($plugin, $name) { $seo_title = 'SiteSEO'; if (function_exists('siteseo_get_toggle_white_label_option') && '1' == siteseo_get_toggle_white_label_option()) { $seo_title = method_exists(siteseo_pro_get_service('OptionPro'), 'getWhiteLabelListTitle') && siteseo_pro_get_service('OptionPro')->getWhiteLabelListTitle() ? siteseo_pro_get_service('OptionPro')->getWhiteLabelListTitle() : 'SiteSEO'; } $html = '
' . __('By clicking Migrate, we\'ll import:', 'siteseo') . '
' . sprintf(__('WARNING: Migration will delete / update all %1$s posts and terms metadata. Some dynamic variables will not be interpreted. We do NOT delete any %2$s data.', 'siteseo'), esc_html($seo_title), esc_html($name)) . '