PluginProbe
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution / 1.3.2
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution v1.3.2
2.0.1 trunk 1.0.0 1.1.0 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.5.0 1.6.0 1.6.1 1.7.0 1.7.1 1.8.0 1.9.0 2.0.0
solid-performance / solid-performance.php

solid-performance.php in Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution 1.3.2, at solid-performance.php

52 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Solid Performance
4 * Description: Optimize site performance, boost PageSpeed, and serve a faster website with this simple site optimization tool from SolidWP. Easy page caching setup will accelerate your site in minutes with only a couple of clicks.
5 * Author: SolidWP
6 * Author URI: https://go.solidwp.com/performance-author
7 * Version: 1.3.2
8 * Text Domain: solid-performance
9 * Domain Path: /lang
10 * License: GPLv2-or-later
11 * Requires at least: 6.4
12 * Requires PHP: 7.4
13 *
14 * @package SolidWP\Performance
15 */
16
17 if ( ! defined( 'ABSPATH' ) ) {
18 exit;
19 }
20
21 use SolidWP\Performance\Plugin\Activator;
22 use SolidWP\Performance\Plugin\Deactivator;
23
24 require_once __DIR__ . '/vendor/autoload.php';
25 require_once __DIR__ . '/vendor/vendor-prefixed/autoload.php';
26 require_once __DIR__ . '/src/functions/app.php';
27 require_once __DIR__ . '/src/functions/filesystem.php';
28 require_once __DIR__ . '/src/functions/config.php';
29
30 define( 'SWPSP_PLUGIN_FILE', __FILE__ );
31
32 // Get the plugin's singleton instance.
33 $core = swpsp_plugin();
34
35 add_action(
36 'plugins_loaded',
37 static function () use ( $core ): void {
38 // Fully boot the plugin and its service providers.
39 $core->init();
40 }
41 );
42
43 /**
44 * Fires when the SolidWP Performance plugin is loaded.
45 *
46 * @since TBD
47 */
48 do_action( 'solidwp/performance/bootstrap_file_loaded' );
49
50 register_activation_hook( __FILE__, new Activator( $core->container() ) );
51 register_deactivation_hook( __FILE__, new Deactivator( $core->container() ) );
52