-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsimple-gdpr-cookie-compliance.php
58 lines (53 loc) · 1.85 KB
/
simple-gdpr-cookie-compliance.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
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
/**
* Simple GDPR Cookie Compliance
*
* @link https://themebeez.com/
* @since 1.0.0
* @package Simple_GDPR_Cookie_Compliance
*
* Plugin Name: Simple GDPR Cookie Compliance
* Plugin URI: https://themebeez.com/plugins/simple-gdpr-cookie-compliance
* Description: Simple GDPR Cookie Compliance is a simple plugin that helps to display cookie notice on your WordPress website.
* Version: 1.1.11
* Requires at least: 5.6
* Requires PHP: 7.4
* Tested up to: 6.7
* Author: themebeez
* Author URI: https://themebeez.com/
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: simple-gdpr-cookie-compliance
* Domain Path: /languages
* Tags: cookie notice, GDPR, CCPA, cookie privacy, cookie consent
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/**
* Currently plugin version.
* Start at version 1.0.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define( 'SIMPLE_GDPR_COOKIE_COMPLIANCE_VERSION', '1.1.11' );
define( 'SIMPLE_GDPR_COOKIE_COMPLIANCE_BASENAME', plugin_basename( __FILE__ ) );
/**
* 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-simple-gdpr-cookie-compliance.php';
/**
* Begins execution of the plugin.
*
* Since everything within the plugin is registered via hooks,
* then kicking off the plugin from this point in the file does
* not affect the page life cycle.
*
* @since 1.0.0
*/
function simple_gdpr_cookie_compliance_start() {
$plugin = new Simple_GDPR_Cookie_Compliance();
$plugin->run();
}
simple_gdpr_cookie_compliance_start();