function admin_form_end($button = null, $table = true) { if ($button === null) { $button = __('Import Now', 'seo-ultimate'); } parent::admin_form_end($button, $table); $this->print_message('warning', sprintf(__('The import cannot be undone. It is your responsibility to <a href="%s" target="_blank">backup your database</a> before proceeding!', 'seo-ultimate'), suwp::get_backup_url())); }
/** * @return string */ static function add_backup_url($text) { $anchor = __('backup your database', 'seo-ultimate'); return str_replace($anchor, '<a href="' . suwp::get_backup_url() . '" target="_blank">' . $anchor . '</a>', $text); }