PluginProbe
Lawwwing | Textos legales web y Banner de cookies / trunk
Lawwwing | Textos legales web y Banner de cookies vtrunk
1.5.3 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 1.0.22 1.0.23 1.0.24 1.0.26 1.0.27 1.0.28 1.0.29 1.0.3 All 59 releases
ibamu / ibamu.php

ibamu.php in Lawwwing | Textos legales web y Banner de cookies trunk, at ibamu.php

64 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package Lawwwing
4 */
5 /*
6 Plugin Name: Lawwwing
7 Plugin URI: https://lawwwing.com/
8 Description: Plugin todo en uno desarrollado por Lawwwing.com. Incluye las funcionalidades para ayudar a tu web a cumplir con las normativas RGPD, LOPDGDD, LSSI, LGDCU.
9 Version: 1.5.3
10 Author: ibamu
11 Author URI: https://lawwwing.com/
12 Tags: cookie banner, cookie consent, GDPR, Privacy Policy, Legal Documents
13 License: GPLv2 or later
14 Text Domain: Lawwwing
15 */
16 if (! defined('ABSPATH')) {
17 die;
18 }
19
20 // Define plugin constants
21 define('LW_PLUGIN_NAME', 'Lawwwing');
22 define('LW_PLUGIN_REFERENCE', 'lawwwing');
23 define('LW_PLUGIN_VERSION', '1.5.3');
24
25 // Environment-specific hosts. Override these in wp-config.php for test environments.
26 if (!defined('LW_API_HOST')) {
27 define('LW_API_HOST', 'https://api.lawwwing.com');
28 }
29
30 if (!defined('LW_DOCUMENTS_BASE_HOST')) {
31 define('LW_DOCUMENTS_BASE_HOST', 'https://app.lawwwing.com');
32 }
33
34 // First, I define a constant to see if site is network activated
35 if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
36 require_once(ABSPATH . '/wp-admin/includes/plugin.php' );
37 }
38
39 if (is_plugin_active_for_network('ibamu/ibamu.php')) {
40 define("LW_NETWORK_MODE", true);
41 }
42 else {
43 define("LW_NETWORK_MODE", false);
44 }
45
46 // Include the options page logic.
47 require_once( plugin_dir_path( __FILE__ ) . 'options/options.php' );
48
49 // Include installation logic.
50 require_once( plugin_dir_path( __FILE__ ) . 'installation/install.php' );
51
52 // Include legal documents shortcodes.
53 require_once( plugin_dir_path( __FILE__ ) . 'shortcodes/shortcodes.php' );
54
55 // Include integrations
56 require_once( plugin_dir_path( __FILE__ ) . 'integrations/wp_rocket.php' );
57 require_once( plugin_dir_path( __FILE__ ) . 'integrations/wp_siteground.php' );
58
59 if (is_plugin_active('wp-consent-api/wp-consent-api.php')) {
60 require_once( plugin_dir_path( __FILE__ ) . 'integrations/wp_consent_api.php' );
61 }
62
63 ?>
64