PluginProbe
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution / 1.7.0
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution v1.7.0
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.7.0, at solid-performance.php

46 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.7.0
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 use SolidWP\Performance\Plugin\Uninstaller;
24
25 require_once __DIR__ . '/vendor/autoload.php';
26 require_once __DIR__ . '/vendor/vendor-prefixed/autoload.php';
27 require_once __DIR__ . '/src/functions/app.php';
28 require_once __DIR__ . '/src/functions/filesystem.php';
29 require_once __DIR__ . '/src/functions/config.php';
30
31 define( 'SWPSP_PLUGIN_FILE', __FILE__ );
32
33 // Get the plugin's singleton instance and fully initialize the container definitions.
34 $core = swpsp_plugin()->init();
35
36 /**
37 * Fires when the SolidWP Performance plugin is loaded.
38 *
39 * @since TBD
40 */
41 do_action( 'solidwp/performance/bootstrap_file_loaded' );
42
43 register_activation_hook( __FILE__, new Activator( $core->container() ) );
44 register_deactivation_hook( __FILE__, new Deactivator( $core->container() ) );
45 register_uninstall_hook( __FILE__, [ Uninstaller::class, 'uninstall' ] );
46