# imagify/trunk/views/part-settings-tools.php

Imagify Image Optimization: Optimize Images | Compress &amp; Convert to WebP/AVIF, version trunk. 17 lines.

- Page: https://pluginprobe.com/plugins/imagify/trunk/code/views/part-settings-tools.php
- Raw: https://pluginprobe.com/plugins/imagify/trunk/raw/views/part-settings-tools.php
- Modified: 2026-07-08T07:25:08+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/imagify/trunk/code/views/part-settings-tools.php#L10-L20`.

```php
<?php
defined( 'ABSPATH' ) || exit;
?>
<div class="imagify-settings-section">
	<h2 class="imagify-options-title"><?php esc_html_e( 'Troubleshooting', 'imagify' ); ?></h2>
	<p>
		<?php esc_html_e( 'If image optimization gets stuck or bulk optimization never completes, use this button to clear internal optimization locks, running-state transients, and pending scheduled jobs. Your settings and optimized images will not be affected.', 'imagify' ); ?>
	</p>
	<button type="button"
		id="imagify-reset-internal-state"
		class="button imagify-button-primary"
		data-nonce="<?php echo esc_attr( wp_create_nonce( 'imagify_reset_internal_state' ) ); ?>">
		<?php esc_html_e( 'Reset Internal State', 'imagify' ); ?>
	</button>
	<span id="imagify-reset-internal-state-feedback"></span>
</div>

```
