C:\xampp\htdocs\landing\wp-content\plugins\wp-smushit\app\views\bulk\upgrade-meta-box.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
/**
 * Bulk Smush upgrade meta box.
 *
 * @since 3.7.2
 * @package WP_Smush
 */

$total_images $this->get_total_images_to_smush();

$all_smushed_upgrade_url add_query_arg(
    array(
        
'utm_source'   => 'smush',
        
'utm_medium'   => 'plugin',
        
'utm_campaign' => 'smush_bulksmush_upsell_notice',
    ),
    
$this->upgrade_url
);

$pending_to_smush_upgrade_url add_query_arg(
    array(
        
'coupon'       => 'SMUSH30OFF',
        
'checkout'     => 0,
        
'utm_source'   => 'smush',
        
'utm_medium'   => 'plugin',
        
'utm_campaign' => 'smush_bulksmush_limit_reached_tryproforfree',
    ),
    
$this->upgrade_url
);

?>
<div id="wp-smush-bulk-smush-upgrade-text-container">

    <div id="wp-smush-all-smushed-text"<?php echo === $total_images '' ' class="sui-hidden"'?>>
        <p><?php esc_html_e'Get Smush Pro and bulk optimize every image you’ve ever added to your site with one click and fix your Google PageSpeed with the best image optimizer WordPress has ever known.''wp-smushit' ); ?></p>
        <a href="<?php echo esc_url$all_smushed_upgrade_url ); ?>" class="sui-button sui-button-purple" target="_blank">
            <?php esc_html_e'Try pro absolutely free''wp-smushit' ); ?>
        </a>
    </div>

    <div id="wp-smush-pending-to-smush-text"<?php echo === $total_images ' class="sui-hidden"' ''?>>
        <p>
            <?php
            printf
(
                
/* translators: 1. opening 'strong' tag, 2. closing 'strong' tag, 3. count of images to smush between span tags. */
                
esc_html__'Bulk smush %1$sall your %3$s images%2$s in one click and get a %1$s30%% Welcome Discount%2$s just for Smush Free users!''wp-smushit' ),
                
'<strong>',
                
'</strong>',
                
'<span class="wp-smush-total-count">' esc_html$total_images ) . '</span>'
            
);
            
?>
        </p>
        <a href="<?php echo esc_url$pending_to_smush_upgrade_url ); ?>" class="sui-button sui-button-purple" target="_blank">
            <?php esc_html_e'Try pro absolutely free''wp-smushit' ); ?>
        </a>
    </div>

</div>
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586