PluginProbe
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.7.5
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.7.5
4.7.4 4.7.5 4.7.3 4.7.2 4.7.1 trunk 2.3.0 2.4.0 2.4.1 2.4.2 2.5.0 3.0.0 3.0.1 3.1.0 3.10.0 3.10.1 3.11.1 3.11.2 3.11.3 3.2.0 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 All 95 releases
cookiebot / cookiebot.php

cookiebot.php in Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode 4.7.5, at cookiebot.php

35 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 Plugin Name: Cookiebot by Usercentrics - Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode
5 Plugin URI: https://www.cookiebot.com/
6 Description: Install your cookie banner in minutes. Automatically scan and block cookies to comply with the GDPR, CCPA, Google Consent Mode v2. Free plan option.
7 Author: Usercentrics A/S
8 Version: 4.7.5
9 Author URI: https://www.cookiebot.com/
10 License: GPLv2 or later
11 License URI: https://www.gnu.org/licenses/gpl-2.0.html
12 Text Domain: cookiebot
13 Domain Path: /langs
14 */
15
16 if ( ! defined( 'ABSPATH' ) ) {
17 exit; // Exit if accessed directly
18 }
19
20 define( 'CYBOT_COOKIEBOT_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
21 define( 'CYBOT_COOKIEBOT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
22
23 require_once __DIR__ . '/vendor/autoload.php';
24 require_once __DIR__ . '/src/lib/helper.php';
25 require_once __DIR__ . '/src/lib/global-deprecations-class.php';
26 require_once __DIR__ . '/src/lib/global-deprecations.php';
27
28 try {
29 \cybot\cookiebot\lib\cookiebot();
30 } catch ( RuntimeException $exception ) {
31 require_once ABSPATH . 'wp-admin/includes/plugin.php';
32 deactivate_plugins( plugin_basename( __FILE__ ) );
33 wp_die( esc_html( $exception->getMessage() ) );
34 }
35