PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / 2.2
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF v2.2
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
imagify / views / notice-bulk-optimization-complete.php

notice-bulk-optimization-complete.php in Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF 2.2, at views/notice-bulk-optimization-complete.php

30 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
3
4 delete_transient( 'imagify_bulk_optimization_complete' );
5 delete_transient( 'imagify_bulk_optimization_result' );
6 ?>
7
8 <div class="notice notice-success is-dismissible">
9 <div class="imagify-notice-bulk-complete">
10 <div class="imagify-notice-bulk-complete-logo">
11 <img src="<?php echo esc_url( IMAGIFY_ASSETS_IMG_URL . 'imagify.svg' ); ?>" width="96" height="96" alt="Imagify" />
12 </div>
13 <div>
14 <p><strong><?php esc_html_e( 'Well done!', 'imagify' ); ?></strong></p>
15 <p><?php esc_html_e( 'The bulk optimization is now complete.', 'imagify' ); ?></p>
16 <p><?php
17 printf(
18 // translators: %1$s = number of images optimized, %2$s = size saved, %3$s = total size, %4$s = opening link tag, %5$s = closing link tag.
19 __( 'We have optimized %1$s images and you have just saved %2$s out of %3$s. %4$sCheck your stats%5$s' ),
20 $data['total'],
21 $data['optimized_size'],
22 $data['original_size'],
23 '<a href="' . esc_url( $data['bulk_page_url'] ) . '">',
24 '</a>'
25 );
26 ?>
27 </p>
28 </div>
29 <?php $this->print_template( 'notice-footer', [ 'dismissible' => 'bulk-optimization-complete' ] ); ?>
30