PluginProbe
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.7.3
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.7.3
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 3.5.0 3.6.0 All 93 releases
cookiebot / uninstall.php

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

61 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php // exit if uninstall constant is not defined
2 if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
3 exit;
4 }
5
6 // All new and legacy config params
7 // phpcs:ignore
8 // phpcs:ignore
9 $options = array(
10 'cookiebot-cbid',
11 'cookiebot-auth-token',
12 'cookiebot-user-data',
13 'cookiebot-configuration',
14 'cookiebot-scan-id',
15 'cookiebot-scan-status',
16 'cookiebot-banner-enabled',
17 'cookiebot_banner_live_dismissed',
18 'cookiebot-uc-auto-blocking-mode',
19 'cookiebot-uc-onboarded-via-signup',
20
21 'cookiebot-ruleset-id',
22 'cookiebot-language',
23 'cookiebot-front-language',
24 'cookiebot-nooutput',
25 'cookiebot-nooutput-admin',
26 'cookiebot-output-logged-in',
27 'cookiebot-ignore-scripts',
28 'cookiebot-autoupdate',
29 'cookiebot-script-tag-uc-attribute',
30 'cookiebot-script-tag-cd-attribute',
31 'cookiebot-cookie-blocking-mode',
32 'cookiebot-iab',
33 'cookiebot-tcf-version',
34 'cookiebot-tcf-purposes',
35 'cookiebot-tcf-special-purposes',
36 'cookiebot-tcf-features',
37 'cookiebot-tcf-special-features',
38 'cookiebot-tcf-vendors',
39 'cookiebot-tcf-disallowed',
40 'cookiebot-tcf-ac-vendors',
41 'cookiebot-ccpa',
42 'cookiebot-ccpa-domain-group-id',
43 'cookiebot-gtm',
44 'cookiebot-gtm-id',
45 'cookiebot-gtm-cookies',
46 'cookiebot-data-layer',
47 'cookiebot-gcm',
48 'cookiebot-gcm-first-run',
49 'cookiebot-gcm-url-passthrough',
50 'cookiebot-gcm-cookies',
51 'cookiebot-multiple-config',
52 'cookiebot-second-banner-regions',
53 'cookiebot-second-banner-id',
54 'cookiebot-multiple-banners',
55 );
56 // Delete all config params
57 // phpcs:ignore
58 foreach ( $options as $option ) {
59 delete_option( $option );
60 }
61