-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsuper-light-cache-buster.php
45 lines (41 loc) · 1.42 KB
/
super-light-cache-buster.php
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
44
45
<?php
/**
* The plugin bootstrap file
*
* This file is read by WordPress to generate the plugin information in the plugin
* admin area. This file also includes all of the dependencies used by the plugin,
* registers the activation and deactivation functions, and defines a function
* that starts the plugin.
*
* @since 1.0.0
* @package Super_Light_Cache_Buster
*
* @wordpress-plugin
* Plugin Name: Super Light Cache Buster
* Description: With a compressed size of under 30KB, this simple plugin adds random version numbers to CSS & JS assets to vanquish browser caching. Clear your Site and Server-side caches, and this plugin will do the rest.
* Version: 1.4.1
* Author: Mwale Kalenga
* Author URI: https://mwale.me
* License: GPL-3.0+
* License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
* Text Domain: super-light-cache-buster
* Domain Path: /languages
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* The core plugin class that is used to define internationalization,
* admin-specific hooks, and public-facing site hooks.
*/
require plugin_dir_path( __FILE__ ) . 'includes/class-super-light-cache-buster.php';
/**
* Begins execution of the plugin.
*
* @return void
*/
function run_super_light_cache_buster() {
$plugin = new Super_Light_Cache_Buster();
}
run_super_light_cache_buster();