-
Notifications
You must be signed in to change notification settings - Fork 8
/
cc4r_init.php
32 lines (27 loc) · 898 Bytes
/
cc4r_init.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
<?php
/*
Plugin Name: Country Caching Extension For WP Rocket
Plugin URI: http://means.us.com
Description: Makes Country GeoLocation work with WP Rocket
Version: 0.0.5
Author: Andrew Wrigley
Author URI: https://means.us.com/
Contributors: wrigs1, senlin
License: GPLv2 or later
*/
if ( ! defined( 'ABSPATH' ) ) exit;
// for developer's version update testing only (for insertion into currently installed file do not uncomment here)
/*
require (WP_CONTENT_DIR . '/plugin-update-checker/plugin-update-checker.php'); // you wont have this
$myUpdateChecker = Puc_v4_Factory::buildUpdateChecker(
'http://blog.XXXXXXXX.com/meta_cc4r.json',
__FILE__,
'country-caching-extension-for-wp-rocket'
);
*/
define('CC4R_PLUGINDIR',plugin_dir_path(__FILE__));
if( is_admin() ):
define('CC4R_CALLING_SCRIPT', __FILE__);
endif;
require_once 'country_cache_wpr.php';
?>