# convertkit/3.3.0/views/backend/settings/tools.php

Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages, version 3.3.0. 186 lines.

- Page: https://pluginprobe.com/plugins/convertkit/3.3.0/code/views/backend/settings/tools.php
- Raw: https://pluginprobe.com/plugins/convertkit/3.3.0/raw/views/backend/settings/tools.php
- Modified: 2026-02-09T03:07:20+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/convertkit/3.3.0/code/views/backend/settings/tools.php#L10-L20`.

```php
<?php
/**
 * Settings > Tools view
 *
 * @package ConvertKit
 * @author ConvertKit
 */

?>
<div class="metabox-holder">
	<div id="debug-log" class="postbox">
		<h2><?php esc_html_e( 'Debug Log', 'convertkit' ); ?></h2>
		<p class="description">
			<?php esc_html_e( 'Use this tool to help debug Kit plugin functionality.', 'convertkit' ); ?><br />
			<?php esc_html_e( 'For performance, the last 500 lines of the log are displayed. Use the Download Log option to review the full log.', 'convertkit' ); ?><br />
		</p>

		<textarea readonly="readonly" id="debug-log-textarea" class="large-text convertkit-monospace" rows="15"><?php echo esc_textarea( $log->read() ); ?></textarea>

		<?php
		if ( $log->exists() ) {
			?>
			<p>
				<?php
				submit_button(
					__( 'Download log', 'convertkit' ),
					'primary',
					'convertkit-download-debug-log',
					false
				);
				?>
				<input type="submit" name="convertkit-clear-debug-log" id="convertkit-clear-debug-log" class="button button-secondary" value="<?php esc_attr_e( 'Clear log', 'convertkit' ); ?>" />
			</p>
			<p><?php esc_html_e( 'Log file', 'convertkit' ); ?>: <code><?php echo esc_attr( $log->get_filename() ); ?></code></p>
			<?php
		}
		?>
	</div><!-- .postbox -->

	<div id="system-info" class="postbox">
		<h2><?php esc_html_e( 'System Info', 'convertkit' ); ?></h2>
		<p class="description"><?php esc_html_e( 'Use this tool to send system info to support when necessary.', 'convertkit' ); ?></p>

		<textarea readonly="readonly" id="system-info-textarea" class="large-text convertkit-monospace" rows="15"><?php echo esc_textarea( $system_info ); ?></textarea>

		<p>
			<?php
			submit_button(
				__( 'Download system info', 'convertkit' ),
				'primary',
				'convertkit-download-system-info',
				false
			);
			?>
		</p>
	</div><!-- .postbox -->

	<div id="export" class="postbox">
		<h2><?php esc_html_e( 'Export Configuration', 'convertkit' ); ?></h2>

		<p class="description">
			<?php esc_html_e( 'Downloads this plugin\'s configuration as a JSON file.', 'convertkit' ); ?><br />
			<strong>
				<?php esc_html_e( 'This file includes sensitive API credentials. Use with caution.', 'convertkit' ); ?>
			</strong>
		</p>

		<p>
			<?php
			submit_button(
				__( 'Export', 'convertkit' ),
				'primary',
				'convertkit-export',
				false
			);
			?>
		</p>
	</div><!-- .postbox -->

	<div id="import" class="postbox">
		<h2><?php esc_html_e( 'Import Configuration', 'convertkit' ); ?></h2>

		<p class="description">
			<?php esc_html_e( 'Imports a configuration file generated by this plugin.', 'convertkit' ); ?><br />
			<strong>
				<?php esc_html_e( 'This will overwrite any existing settings stored on this installation.', 'convertkit' ); ?><br />
			</strong>
		</p>

		<input type="file" name="import" />

		<p>
			<?php
			submit_button(
				__( 'Import', 'convertkit' ),
				'primary',
				'convertkit-import',
				false
			);
			?>
		</p>
	</div><!-- .postbox -->

	<?php
	// Importers.
	foreach ( $importers as $importer ) {
		?>
		<div id="import-<?php echo esc_attr( $importer['name'] ); ?>" class="postbox">
			<h2>
				<?php
				printf(
					/* translators: %s: Importer title */
					esc_html__( '%s: Migrate Configuration', 'convertkit' ),
					esc_html( $importer['title'] )
				);
				?>
			</h2>

			<p class="description">
				<?php
				printf(
					/* translators: %s: Importer title */
					esc_html__( 'Automatically replace %s form shortcodes and blocks with Kit form shortcodes and blocks.', 'convertkit' ),
					esc_html( $importer['title'] )
				);
				?>
				<br />
			</p>

			<table class="widefat striped">
				<thead>
					<tr>
						<th>
							<?php
							printf(
								/* translators: %s: Importer title */
								esc_html__( '%s Form', 'convertkit' ),
								esc_html( $importer['title'] )
							);
							?>
						</th>
						<th><?php esc_html_e( 'Kit Form', 'convertkit' ); ?></th>
					</tr>
				</thead>
				<tbody>
					<?php
					foreach ( $importer['forms'] as $importer_form_id => $importer_form_title ) {
						?>
						<tr>
							<td><?php echo esc_html( $importer_form_title ); ?></td>
							<td>
								<select name="_wp_convertkit_integration_<?php echo esc_attr( $importer['name'] ); ?>_settings[<?php echo esc_attr( $importer_form_id ); ?>]">
									<?php
									foreach ( $forms->get() as $form ) {
										?>
										<option value="<?php echo esc_attr( $form['id'] ); ?>"><?php echo esc_html( $form['name'] ); ?></option>
										<?php
									}
									?>
								</select>
							</td>
						</tr>
						<?php
					}
					?>
				</tbody>
			</table>

			<p>
				<?php
				submit_button(
					__( 'Migrate', 'convertkit' ),
					'primary',
					'convertkit-import-' . $importer['name'],
					false
				);
				?>
			</p>
		</div><!-- .postbox -->
		<?php
	}

	wp_nonce_field( 'convertkit-settings-tools', '_convertkit_settings_tools_nonce' );
	?>
</div><!-- .metabox-holder -->

```
