PluginProbe
SureCookie – GDPR Cookie Consent Banner, Cookie Scanner & Script Blocking / 1.2.1
SureCookie – GDPR Cookie Consent Banner, Cookie Scanner & Script Blocking v1.2.1
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 1.2.1, at surecookie.php

65 lines 2.3 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.2.1
9 * License: GPL-2.0-or-later
10 * Text Domain: surecookie
11 * Requires at least: 6.7
12 * Requires PHP: 7.4
13 * Tested up to: 7.0
14 *
15 * @package surecookie
16 */
17
18 if ( ! defined( 'ABSPATH' ) ) {
19 exit; // Exit if accessed directly.
20 }
21
22 /**
23 * Define the plugin constants.
24 */
25 define( 'SURECOOKIE_FILE', __FILE__ );
26 define( 'SURECOOKIE_BASE', plugin_basename( SURECOOKIE_FILE ) );
27 define( 'SURECOOKIE_DIR', plugin_dir_path( SURECOOKIE_FILE ) );
28 define( 'SURECOOKIE_URL', plugins_url( '/', SURECOOKIE_FILE ) );
29 define( 'SURECOOKIE_VERSION', '1.2.1' );
30
31 /**
32 * Define the necessary core constants.
33 */
34 define( 'SURECOOKIE_PREFIX', 'surecookie' );
35 define( 'SURECOOKIE_CAPABILITY', 'manage_options' );
36 define( 'SURECOOKIE_CONSENT_LOG_DB', 'surecookie_consent_log' );
37 define( 'SURECOOKIE_SETTINGS_OPTION', 'surecookie_settings' );
38 define( 'SURECOOKIE_ONBOARDING_OPTION', 'surecookie_onboarding_user_details' );
39 define( 'SURECOOKIE_ONBOARDING_COMPLETED_OPTION', 'surecookie_onboarding_completed' );
40 define( 'SURECOOKIE_SCANNED_DETAILS_OPTION', 'surecookie_scanned_details' );
41 define( 'SURECOOKIE_SCANNED_COOKIES_OPTION', 'surecookie_scanned_cookies' );
42 define( 'SURECOOKIE_SCANNED_LOGS_OPTION', 'surecookie_scanned_logs' );
43 define( 'SURECOOKIE_SCANNED_RESOURCES_OPTION', 'surecookie_scanned_resources' );
44 define( 'SURECOOKIE_FIRST_SUCCESSFUL_SCAN_OPTION', 'surecookie_first_successful_scan' );
45 define( 'SURECOOKIE_SITE_CREDENTIALS_OPTION', 'surecookie_site_credentials' );
46 define( 'SURECOOKIE_BILLING_PORTAL', 'https://my.surecookie.com/' );
47 define( 'SURECOOKIE_WEBSITE', 'https://surecookie.com/' );
48
49 /**
50 * Pro nudges option key.
51 */
52 define( 'SURECOOKIE_NUDGES', 'surecookie_nudges' );
53
54 /**
55 * DB schema version. Increment whenever get_columns_definition() changes.
56 * The loader compares this against the stored option and re-runs dbDelta
57 * automatically so column additions take effect without a plugin reactivation.
58 */
59 define( 'SURECOOKIE_DB_VERSION', '1.2.1' );
60
61 /**
62 * Load the plugin.
63 */
64 require_once 'loader.php';
65