# wp-optimize/3.6.0/templates/settings/settings-export-import.php

WP-Optimize – Cache, Compress images, Minify &amp; Clean database to boost page speed &amp; performance, version 3.6.0. 18 lines.

- Page: https://pluginprobe.com/plugins/wp-optimize/3.6.0/code/templates/settings/settings-export-import.php
- Raw: https://pluginprobe.com/plugins/wp-optimize/3.6.0/raw/templates/settings/settings-export-import.php
- Modified: 2023-09-18T13:50:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-optimize/3.6.0/code/templates/settings/settings-export-import.php#L10-L20`.

```php
<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?>

<h3><?php esc_html_e('Export / import settings', 'wp-optimize'); ?></h3>

<div id="wp-optimize-export-import-settings" class="wpo-fieldgroup">
	<p>
		<?php esc_html_e('Here, you can export your WP-Optimize settings, either for use on another site, or to keep as a backup.', 'wp-optimize');?>
	</p>
	<button type="button" style="clear:left;" class="button-primary" id="wpo-settings-export"><?php esc_html_e('Export settings', 'wp-optimize');?></button>

	<p>
		<?php echo esc_html__('You can also import previously-exported settings.', 'wp-optimize').' '.esc_html__('This tool will replace all your saved settings.', 'wp-optimize'); ?>
	</p>

	<button type="button" style="clear:left;" class="button-primary" id="wpo-settings-import"><?php esc_html_e('Import settings', 'wp-optimize');?></button>
	<input type="file" name="settings_file" id="import_settings">
</div>

```
