PluginProbe ʕ •ᴥ•ʔ
CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice) / 3.5.0
CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice) v3.5.0
3.5.1 3.5.0 3.4.2 trunk 1.0.1 1.0.3 1.2 1.2.1 1.2.2 1.3 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.4.3 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.10 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.7.7 1.7.8 1.7.9 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 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.1.8 3.2.0 3.2.1 3.2.10 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.3.9.1 3.4.0 3.4.1
cookie-law-info / legacy / loader.php
cookie-law-info / legacy Last commit date
admin 2 weeks ago images 2 weeks ago includes 2 weeks ago languages 2 weeks ago public 2 weeks ago third-party 2 weeks ago index.php 2 weeks ago loader.php 2 weeks ago
loader.php
58 lines
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6
7 /**
8 * Load legacy files.
9 */
10
11 if ( ! function_exists( 'cky_define_constants' ) ) {
12 /**
13 * Return parsed URL
14 *
15 * @return void
16 */
17 function cky_define_constants() {
18 if ( ! defined( 'CLI_PLUGIN_URL' ) ) {
19 define( 'CLI_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
20 }
21 if ( ! defined( 'CLI_PLUGIN_PATH' ) ) {
22 define( 'CLI_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
23 }
24 }
25 }
26
27 /**
28 * Function to activate the plugin.
29 *
30 * @return void
31 */
32 function cky_activate() {
33 Cookie_Law_Info_Activator::activate();
34 }
35
36 /**
37 * The code that runs during plugin deactivation.
38 * This action is documented in includes/class-cookie-law-info-deactivator.php
39 */
40 function cky_deactivate() {
41 require_once plugin_dir_path( __FILE__ ) . 'includes/class-cookie-law-info-deactivator.php';
42 Cookie_Law_Info_Deactivator::deactivate();
43 }
44
45 cky_define_constants();
46 require_once plugin_dir_path( __FILE__ ) . 'includes/class-cookie-law-info-activator.php';
47 register_activation_hook( __FILE__, 'cky_activate' );
48 register_deactivation_hook( __FILE__, 'cky_deactivate' );
49
50 /**
51 * The core plugin class that is used to define internationalization,
52 * admin-specific hooks, and public-facing site hooks.
53 */
54 require plugin_dir_path( __FILE__ ) . 'includes/class-cookie-law-info.php';
55
56 $cky_loader = new Cookie_Law_Info();
57 $cky_loader->run();
58