PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 7.5.1
Jetpack – WP Security, Backup, Speed, & Growth v7.5.1
12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 14.4.2 All 500 releases
jetpack / modules / pwa.php
pwa.php
43 lines 967 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Module Name: Progressive Web Apps
4 * Module Description: Speed up and improve the reliability of your site using the latest in web technology.
5 * Sort Order: 38
6 * Recommendation Order: 18
7 * First Introduced: 5.6.0
8 * Requires Connection: Yes
9 * Auto Activate: No
10 * Module Tags: Developers
11 * Feature: Traffic
12 * Additional Search Queries: manifest, pwa, progressive
13 */
14
15 require_once ( JETPACK__PLUGIN_DIR . 'modules/pwa/class.jetpack-pwa-helpers.php' );
16 require_once ( JETPACK__PLUGIN_DIR . 'modules/pwa/class.jetpack-pwa-manifest.php' );
17
18 class Jetpack_PWA {
19 /**
20 * @var Jetpack_PWA
21 */
22 private static $__instance = null;
23
24 /**
25 * Singleton implementation
26 *
27 * @return Jetpack_PWA
28 */
29 public static function instance() {
30 if ( is_null( self::$__instance ) ) {
31 self::$__instance = new Jetpack_PWA;
32 }
33
34 return self::$__instance;
35 }
36
37 private function __construct() {
38 Jetpack_PWA_Manifest::instance();
39 }
40 }
41
42 Jetpack_PWA::instance();
43