PluginProbe ʕ •ᴥ•ʔ
Real Cookie Banner: GDPR & ePrivacy Cookie Consent / 5.2.25
Real Cookie Banner: GDPR & ePrivacy Cookie Consent v5.2.25
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 1 month ago languages 1 month ago public 1 month ago vendor 1 month ago CHANGELOG.md 1 month ago LICENSE 5 years ago LICENSE_3RD_PARTY_JS.md 5 years ago LICENSE_3RD_PARTY_PHP.md 11 months ago README.txt 1 month ago index.php 1 month ago uninstall.php 2 years ago wpml-config.xml 2 years ago
index.php
51 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: 5.2.25
12 * Text Domain: real-cookie-banner
13 * Domain Path: /languages
14 * License: GPLv3 or later
15 * License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
16 */
17
18 defined('ABSPATH') or die('No script kiddies please!'); // Avoid direct file request
19
20 /**
21 * Plugin constants. This file is procedural coding style for initialization of
22 * the plugin core and definition of plugin configuration.
23 */
24 if (defined('RCB_PATH')) {
25 require_once __DIR__ . '/inc/base/others/fallback-already.php';
26 return;
27 }
28 define('RCB_FILE', __FILE__);
29 define('RCB_PATH', dirname(RCB_FILE));
30 define('RCB_ROOT_SLUG', 'devowl-wp');
31 define('RCB_SLUG', basename(RCB_PATH));
32 define('RCB_INC', RCB_PATH . '/inc/');
33 define('RCB_MIN_PHP', '7.4.0');
34 define('RCB_MIN_WP', '5.9.0');
35 define('RCB_NS', 'DevOwl\\RealCookieBanner');
36 define('RCB_DB_PREFIX', 'rcb'); // The table name prefix wp_{prefix}
37 define('RCB_OPT_PREFIX', 'rcb'); // The option name prefix in wp_options
38 define('RCB_SLUG_CAMELCASE', lcfirst(str_replace('-', '', ucwords(RCB_SLUG, '-'))));
39 //define('RCB_TD', ''); This constant is defined in the core class. Use this constant in all your __() methods
40 //define('RCB_VERSION', ''); This constant is defined in the core class
41 //define('RCB_DEBUG', true); This constant should be defined in wp-config.php to enable the Base#debug() method
42
43 define('RCB_SLUG_PRO', 'real-cookie-banner-pro');
44 define('RCB_SLUG_LITE', 'real-cookie-banner');
45 // define('RCB_PRO_VERSION', 'https://devowl.io/go/real-cookie-banner?source=rcb-lite'); This constant is defined in the core class
46
47 // Check PHP Version and print notice if minimum not reached, otherwise start the plugin core
48 require_once RCB_INC .
49 'base/others/' .
50 (version_compare(phpversion(), RCB_MIN_PHP, '>=') ? 'start.php' : 'fallback-php-version.php');
51