PluginProbe
SureCookie – GDPR Cookie Consent Banner, Cookie Scanner & Script Blocking / trunk
SureCookie – GDPR Cookie Consent Banner, Cookie Scanner & Script Blocking vtrunk
1.5.0 1.4.0 1.3.0 1.3.1 trunk 0.0.0-alpha.1 0.0.0-alpha.2 0.0.0-alpha.3 0.0.1-beta.1 0.0.1-beta.2 0.0.1-beta.3 0.0.1-beta.4 1.0.0 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4
surecookie / surecookie.php

surecookie.php in SureCookie – GDPR Cookie Consent Banner, Cookie Scanner & Script Blocking trunk, at surecookie.php

67 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: SureCookie
4 * Plugin URI: https://surecookie.com
5 * Description: Real cookie consent for WordPress. Browser-based scanning, smart categorization, strict script blocking, and consent logs stored in your database.
6 * Author: SureCookie
7 * Author URI: https://surecookie.com/
8 * Version: 1.5.0
9 * License: GPL-2.0-or-later
10 * Text Domain: surecookie
11 * Domain Path: /languages
12 * Requires at least: 6.7
13 * Requires PHP: 7.4
14 * Tested up to: 7.1
15 *
16 * @package surecookie
17 */
18
19 if ( ! defined( 'ABSPATH' ) ) {
20 exit; // Exit if accessed directly.
21 }
22
23 /**
24 * Define the plugin constants.
25 */
26 define( 'SURECOOKIE_FILE', __FILE__ );
27 define( 'SURECOOKIE_BASE', plugin_basename( SURECOOKIE_FILE ) );
28 define( 'SURECOOKIE_DIR', plugin_dir_path( SURECOOKIE_FILE ) );
29 define( 'SURECOOKIE_URL', plugins_url( '/', SURECOOKIE_FILE ) );
30 define( 'SURECOOKIE_VERSION', '1.5.0' );
31
32 /**
33 * Define the necessary core constants..
34 */
35 define( 'SURECOOKIE_PREFIX', 'surecookie' );
36 define( 'SURECOOKIE_CAPABILITY', 'manage_options' );
37 define( 'SURECOOKIE_CONSENT_LOG_DB', 'surecookie_consent_log' );
38 define( 'SURECOOKIE_SETTINGS_OPTION', 'surecookie_settings' );
39 define( 'SURECOOKIE_ONBOARDING_OPTION', 'surecookie_onboarding_user_details' );
40 define( 'SURECOOKIE_ONBOARDING_COMPLETED_OPTION', 'surecookie_onboarding_completed' );
41 define( 'SURECOOKIE_SCANNED_DETAILS_OPTION', 'surecookie_scanned_details' );
42 define( 'SURECOOKIE_SCANNED_COOKIES_OPTION', 'surecookie_scanned_cookies' );
43 define( 'SURECOOKIE_SCANNED_LOGS_OPTION', 'surecookie_scanned_logs' );
44 define( 'SURECOOKIE_SCANNED_RESOURCES_OPTION', 'surecookie_scanned_resources' );
45 define( 'SURECOOKIE_COOKIE_CATEGORY_MEMORY_OPTION', 'surecookie_cookie_category_memory' );
46 define( 'SURECOOKIE_INSTALLED_SERVICES_OPTION', 'surecookie_installed_services' );
47 define( 'SURECOOKIE_SITE_CREDENTIALS_OPTION', 'surecookie_site_credentials' );
48 define( 'SURECOOKIE_BILLING_PORTAL', 'https://my.surecookie.com/' );
49 define( 'SURECOOKIE_WEBSITE', 'https://surecookie.com/' );
50
51 /**
52 * Pro nudges option key.
53 */
54 define( 'SURECOOKIE_NUDGES', 'surecookie_nudges' );
55
56 /**
57 * DB schema version. Increment whenever get_columns_definition() changes.
58 * The loader compares this against the stored option and re-runs dbDelta
59 * automatically so column additions take effect without a plugin reactivation.
60 */
61 define( 'SURECOOKIE_DB_VERSION', '1.2.2' );
62
63 /**
64 * Load the plugin.
65 */
66 require_once 'loader.php';
67