# imagify/2.2/views/button/processing.php

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

- Page: https://pluginprobe.com/plugins/imagify/2.2/code/views/button/processing.php
- Raw: https://pluginprobe.com/plugins/imagify/2.2/raw/views/button/processing.php
- Modified: 2019-05-06T14:27:06+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/2.2/code/views/button/processing.php#L10-L20`.

```php
<?php
defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );

if ( empty( $data['label'] ) ) {
	$data['label'] = '%s';
}
?>

<div class="button button-imagify-processing">
	<span class="imagify-spinner"></span>
	<?php echo esc_html( $data['label'] ); ?>
</div>

<?php

$this->print_js_template_in_footer( 'button/processing' );

```
