PluginProbe
Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score / 1.1
Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score v1.1
trunk 1.0 1.0.1 1.1 1.1.1 1.1.2 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.1 2.1.1 2.1.2 2.2 2.2.1 All 69 releases
powered-cache / includes / admin / settings / extensions.php

extensions.php in Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score 1.1, at includes/admin/settings/extensions.php

38 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Settings page template
4 *
5 * @package PoweredCache
6 * @subpackage PoweredCache/Settings
7 */
8
9 // Exit if accessed directly
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit;
12 }
13
14 ?>
15 <?php $extentions = Powered_Cache_Extensions::factory()->get_extentions(); ?>
16
17 <div class="powered-cache-extension-page">
18 <?php foreach ( $extentions as $extension_id => $extention ): ?>
19 <div class="powered-cache-extension"><h3 class="powered-cache-extension-title"><?php echo $extention['Name']; ?></h3>
20 <a href="<?php echo $extention['ExtensionURI']; ?>" title="<?php echo $extention['Name']; ?>">
21 <img width="320" height="160" src="<?php echo $extention['ExtensionImage']; ?>"></a>
22
23 <p><?php echo __( $extention['Description'], 'powered-cache' ); ?></p>
24
25 <p></p>
26 <?php if ( 'true' === $extention['Premium'] && ! powered_cache_is_premium() ): ?>
27 <span class="extension-upgrade-msg"><?php echo __( 'Premium only', 'powered-cache' ); ?></span>
28 <span class="upgrade-extension" style="float:right;"> <?php echo Powered_Cache_Admin_Helper::upgrade_button(); ?></span>
29 <?php else: ?>
30 <?php echo Powered_Cache_Admin_Helper::plugin_button( $extension_id ); ?>
31 <?php endif; ?>
32 </div>
33
34 <?php endforeach; ?>
35
36 </div>
37 <!-- .postbox -->
38