PluginProbe ʕ •ᴥ•ʔ
Real Cookie Banner: GDPR & ePrivacy Cookie Consent / 3.1.2
Real Cookie Banner: GDPR & ePrivacy Cookie Consent v3.1.2
5.2.25 5.2.23 4.5.1 4.5.2 4.5.3 4.6.0 4.6.1 4.7.0 4.7.1 4.7.10 4.7.11 4.7.12 4.7.13 4.7.14 4.7.15 4.7.2 4.7.3 4.7.4 4.7.5 4.7.6 4.7.8 4.7.9 4.8.0 4.8.3 4.8.4 5.0.0 5.0.1 5.0.10 5.0.11 5.0.13 5.0.15 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.1.0 5.1.12 5.1.13 5.1.16 5.1.17 5.1.19 5.1.2 5.1.4 5.1.6 5.1.9 5.2.0 5.2.1 5.2.10 5.2.12 5.2.14 5.2.19 5.2.22 5.2.4 5.2.5 5.2.7 5.2.9 trunk 2.10.1 2.11.0 2.11.1 2.11.2 2.12.0 2.13.0 2.14.0 2.14.1 2.14.2 2.14.3 2.15.0 2.16.0 2.16.1 2.16.2 2.17.0 2.17.1 2.17.2 2.17.3 2.18.1 2.18.2 3.0.0 3.0.1 3.0.2 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.10.0 3.11.0 3.11.1 3.11.2 3.11.4 3.11.5 3.12.0 3.13.0 3.13.1 3.13.2 3.13.3 3.2.0 3.3.0 3.4.0 3.4.1 3.4.10 3.4.11 3.4.12 3.4.13 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 3.4.9 3.5.0 3.5.1 3.5.2 3.5.3 3.6.0 3.6.1 3.6.10 3.6.11 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9 3.7.0 3.7.1 3.7.2 3.8.0 3.9.0 3.9.2 3.9.4 3.9.5 4.0.0 4.0.1 4.1.0 4.1.1 4.1.2 4.2.0 4.3.0 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.7 4.4.0 4.4.1 4.5.0
real-cookie-banner / index.php
real-cookie-banner Last commit date
inc 3 years ago languages 3 years ago public 3 years ago vendor 3 years ago CHANGELOG.md 3 years ago LICENSE 5 years ago LICENSE_3RD_PARTY_JS.md 5 years ago LICENSE_3RD_PARTY_PHP.md 5 years ago README.txt 3 years ago index.php 3 years ago uninstall.php 5 years ago wpml-config.xml 5 years ago
index.php
49 lines
1 <?php
2 /**
3 * Main file for WordPress.
4 *
5 * @wordpress-plugin
6 * Plugin Name: Real Cookie Banner (Free)
7 * Plugin URI: https://devowl.io/wordpress-real-cookie-banner/
8 * Description: Obtain GDPR (DSGVO) and ePrivacy (EU cookie law) compliant opt-in consent. Find cookies and fill all legal information in your cookie banner. More than just a cookie notice!
9 * Author: devowl.io
10 * Author URI: https://devowl.io
11 * Version: 3.1.2
12 * Text Domain: real-cookie-banner
13 * Domain Path: /languages
14 */
15
16 defined('ABSPATH') or die('No script kiddies please!'); // Avoid direct file request
17
18 /**
19 * Plugin constants. This file is procedural coding style for initialization of
20 * the plugin core and definition of plugin configuration.
21 */
22 if (defined('RCB_PATH')) {
23 require_once path_join(dirname(__FILE__), 'inc/base/others/fallback-already.php');
24 return;
25 }
26 define('RCB_FILE', __FILE__);
27 define('RCB_PATH', dirname(RCB_FILE));
28 define('RCB_ROOT_SLUG', 'devowl-wp');
29 define('RCB_SLUG', basename(RCB_PATH));
30 define('RCB_INC', trailingslashit(path_join(RCB_PATH, 'inc')));
31 define('RCB_MIN_PHP', '7.2.0'); // Minimum of PHP 5.3 required for autoloading and namespacing
32 define('RCB_MIN_WP', '5.2.0'); // Minimum of WordPress 5.0 required
33 define('RCB_NS', 'DevOwl\\RealCookieBanner');
34 define('RCB_DB_PREFIX', 'rcb'); // The table name prefix wp_{prefix}
35 define('RCB_OPT_PREFIX', 'rcb'); // The option name prefix in wp_options
36 define('RCB_SLUG_CAMELCASE', lcfirst(str_replace('-', '', ucwords(RCB_SLUG, '-'))));
37 //define('RCB_TD', ''); This constant is defined in the core class. Use this constant in all your __() methods
38 //define('RCB_VERSION', ''); This constant is defined in the core class
39 //define('RCB_DEBUG', true); This constant should be defined in wp-config.php to enable the Base#debug() method
40
41 define('RCB_SLUG_PRO', 'real-cookie-banner-pro');
42 define('RCB_SLUG_LITE', 'real-cookie-banner');
43 // define('RCB_PRO_VERSION', 'https://devowl.io/go/real-cookie-banner?source=rcb-lite'); This constant is defined in the core class
44
45 // Check PHP Version and print notice if minimum not reached, otherwise start the plugin core
46 require_once RCB_INC .
47 'base/others/' .
48 (version_compare(phpversion(), RCB_MIN_PHP, '>=') ? 'start.php' : 'fallback-php-version.php');
49