wp_back/wp-content/plugins/wp-smushit/app/views/bulk/cdn-upsell.php
2024-05-20 15:37:46 +03:00

23 lines
1.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* We also show up it via js after clicking on Bulk Smush Now.
*
* @see bulk-smush.js - background-process.js
*
* @var bool $background_in_processing Whether background is in processing or not.
* @var string $bulk_upgrade_url CDN upgrade url.
*/
?>
<div class="sui-box-body sui-margin-top wp-smush-upsell-cdn <?php echo ! $background_in_processing ? ' sui-hidden' : ''; ?>">
<div class="smush-box-image">
<img class="sui-image-icon" src="<?php echo esc_url( WP_SMUSH_URL . 'app/assets/images/bulk-smush/cdn-upsell-icon.png' ); ?>"
srcset="<?php echo esc_url( WP_SMUSH_URL . 'app/assets/images/bulk-smush/cdn-upsell-icon@2x.png' ); ?> 2x"
alt="<?php esc_html_e( 'Smush CDN Icon', 'wp-smushit' ); ?>">
</div>
<div class="sui-box-content">
<p>
<?php esc_html_e( 'Want to serve images even faster? Get up to 2x more speed with Smush Pros CDN, which spans 45 servers worldwide.', 'wp-smushit' ); ?>
</p>
<a href="<?php echo esc_url( $bulk_upgrade_url ); ?>" class="smush-upsell-link" target="_blank"><?php esc_html_e( 'Unlock now with Pro.', 'wp-smushit' ); ?></a>
</div>
</div>