-
Notifications
You must be signed in to change notification settings - Fork 9
/
custom-cookie-message.php
42 lines (36 loc) · 1.5 KB
/
custom-cookie-message.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
<?php
/**
* Custom Cookie Message.
*
* @author Angry Creative AB
* @link https://github.com/Angrycreative/custom-cookie-message
* @since 2.0.0
* @package CustomCookieMessage
*
* @wordpress-plugin
* Plugin Name: Custom Cookie Message
* Plugin URI: https://github.com/Angrycreative/custom-cookie-message
* Description: A customizable cookie message, compatible with GDPR compliance.
* Text Domain: custom-cookie-message
* Domain Path: /languages
* Version: 2.4.8
* Tested up to: 5.2.3
* Requires PHP: 5.6
* Author: Angry Creative AB
* Contributors: Johan Sylvan, kylegard, Luigi Guevara @killua99, Victor Camnerin, Elias Chalhoub, Hosam Alnajar
* Author URI: https://angrycreative.se/
* License: GPL-2.0+
* License URI: https://www.gnu.org/licenses/gpl-2.0.txt
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use CustomCookieMessage\Main;
define( 'CUSTOM_COOKIE_MESSAGE_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
define( 'CUSTOM_COOKIE_MESSAGE_PLUGIN_URL', plugins_url( '', __FILE__ ) . '/' );
define( 'CUSTOM_COOKIE_MESSAGE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
define( 'CUSTOM_COOKIE_MESSAGE_FILE', __FILE__ );
define( 'CUSTOM_COOKIE_MESSAGE_BASENAME', plugin_basename( CUSTOM_COOKIE_MESSAGE_FILE ) );
define( 'CUSTOM_COOKIE_MESSAGE_DIR', dirname( CUSTOM_COOKIE_MESSAGE_FILE ) );
require_once CUSTOM_COOKIE_MESSAGE_DIR . '/src/class-main.php';
Main::single();