-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwp-performance.php
More file actions
43 lines (40 loc) · 1.48 KB
/
wp-performance.php
File metadata and controls
43 lines (40 loc) · 1.48 KB
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
<?php
/**
* Plugin Name: wp-performance
* Plugin URI: https://github.com/Jazz-Man/wp-performance
* Description: The main task of this plugin is to increase the security of the site and improve the performance of the site by disabling completely unnecessary hooks and also optimizing SQL queries
* Author: Vasyl Sokolyk
* Author URI: https://www.linkedin.com/in/sokolyk-vasyl
* Requires at least: 5.2
* Requires PHP: 7.4
* License: MIT
* Update URI: https://github.com/Jazz-Man/wp-performance.
*/
use JazzMan\Performance\Optimization\CleanUp;
use JazzMan\Performance\Optimization\Enqueue;
use JazzMan\Performance\Optimization\LastPostModified;
use JazzMan\Performance\Optimization\Media;
use JazzMan\Performance\Optimization\PostGuid;
use JazzMan\Performance\Optimization\PostMeta;
use JazzMan\Performance\Optimization\TermCount;
use JazzMan\Performance\Optimization\Update;
use JazzMan\Performance\Optimization\WPQuery;
use JazzMan\Performance\Security\Sanitize;
use JazzMan\Performance\Utils\Cache;
if ( function_exists( 'app_autoload_classes' ) ) {
app_autoload_classes(
[
Cache::class,
PostGuid::class,
Update::class,
Media::class,
WPQuery::class,
PostMeta::class,
LastPostModified::class,
TermCount::class,
Sanitize::class,
CleanUp::class,
Enqueue::class,
]
);
}