-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwpengine-clear-url-cache.php
42 lines (32 loc) · 1.3 KB
/
wpengine-clear-url-cache.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
<?php
/*
Plugin Name: Clear URL Cache on WPEngine
Plugin URI: https://github.com/simonwheatley/WPEngine-Clear-URL-Cache
Description: This plugin only works on WPEngine, and allows you to target a particular URL with an HTTP cache PURGE request.
Version: 0.1
Network: true
Author: Simon Wheatley (Code for the People)
Author URI: http://codeforthepeople.com/
*/
/* Copyright 2012 Code for the People Ltd
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* Main plugin information and requires.
*
* @package Clear URL Cache on WPEngine
* @since 0.1
* @copyright Copyright (C) Code for the People Ltd
*/
require_once( 'class-plugin.php' );
require_once( 'class-clear-url-cache.php' );