PATH:
home
/
centosnipponia
/
public_html
/
nipponianl
/
wp-content
/
plugins
/
pixelyoursite
/
includes
<?php namespace PixelYourSite; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * ConsentMagic */ function isConsentMagicPluginActivated() { if ( ! function_exists( 'is_plugin_active' ) ) { include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); } return is_plugin_active( 'consent-magic-pro/consent-magic-pro.php' ); } function isConsentMagicPluginInstalled() { if ( ! function_exists( 'is_plugin_active' ) ) { include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); } $installed_plugins = get_plugins(); $plugin_slug = "consent-magic-pro/consent-magic-pro.php"; return array_key_exists( $plugin_slug, $installed_plugins ) || in_array( $plugin_slug, $installed_plugins, true ); } function isConsentMagicPluginLicenceActivated() { $id = get_option('cs_product_id'); if($id && get_option('wc_am_client_'.$id.'_activated') == 'Activated') { return true; } return false; } /** * @link https://wordpress.org/plugins/ginger/ */ function isGingerPluginActivated() { if ( ! function_exists( 'is_plugin_active' ) ) { include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); } return is_plugin_active( 'ginger/ginger-eu-cookie-law.php' ); } /** * @link https://wordpress.org/plugins/cookiebot/ * @link https://www.cookiebot.com/en/developer/ */ function isCookiebotPluginActivated() { if ( ! function_exists( 'is_plugin_active' ) ) { include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); } return is_plugin_active( 'cookiebot/cookiebot.php' ); } /** * @link https://wordpress.org/plugins/cookie-notice/ */ function isCookieNoticePluginActivated() { if ( ! function_exists( 'is_plugin_active' ) ) { include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); } return is_plugin_active( 'cookie-notice/cookie-notice.php' ); } /** * GDPR Cookie Consent * * @link https://wordpress.org/plugins/cookie-law-info/ */ function isCookieLawInfoPluginActivated() { if ( ! function_exists( 'is_plugin_active' ) ) { include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); } return is_plugin_active( 'cookie-law-info/cookie-law-info.php' ) || is_plugin_active( 'webtoffee-gdpr-cookie-consent/cookie-law-info.php' ) ; } /** * GDPR Real Cookie Banner * * @link https://wordpress.org/plugins/real-cookie-banner/ */ function isRealCookieBannerPluginActivated() { if ( ! function_exists( 'is_plugin_active' ) ) { include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); } return is_plugin_active( 'real-cookie-banner-pro/index.php' ) || is_plugin_active( 'real-cookie-banner/index.php' ) ; } function adminGdprAjaxNotEnabledNotice() { $url = buildAdminUrl( 'pixelyoursite', 'gdpr', false, array( '_wpnonce' => wp_create_nonce( 'pys_enable_gdpr_ajax' ), 'pys' => array( 'enable_gdpr_ajax' => true, ), ) ); ?> <div class="notice notice-error pys_core_gdpr_ajax_notice"> <p>You use the <strong>GDPR Cookie Consent</strong> and <strong>PixelYourSite</strong> plugins. You must turn on "Enable AJAX filter values update" option to avoid problems with cache plugins. <a href="<?php echo esc_url( $url ); ?>"><strong>CLICK HERE TO ENABLE</strong></a>.</p> </div> <?php } function adminGdprAjaxEnabledNotice() { ?> <div class="notice notice-success"> <p>All good :)</p> </div> <?php }
[+]
..
[+]
enrich
[+]
events
[+]
formEvents
[+]
logger
[+]
views
[-] class-custom-event-factory.php
[edit]
[-] class-custom-event.php
[edit]
[-] class-event-id-generator.php
[edit]
[-] class-events-manager-ajax_hook.php
[edit]
[-] class-events-manager.php
[edit]
[-] class-fixed-notices.php
[edit]
[-] class-pixel.php
[edit]
[-] class-plugin.php
[edit]
[-] class-plugin-updater.php
[edit]
[-] class-pys.php
[edit]
[-] class-settings.php
[edit]
[-] functions-admin.php
[edit]
[-] functions-common.php
[edit]
[-] functions-custom-event.php
[edit]
[-] functions-edd.php
[edit]
[-] functions-gdpr.php
[edit]
[-] functions-license.php
[edit]
[-] functions-migrate.php
[edit]
[-] functions-optin.php
[edit]
[-] functions-promo-notices.php
[edit]
[-] functions-system-report.php
[edit]
[-] functions-update-plugin.php
[edit]
[-] functions-woo.php
[edit]
[-] options_defaults.json
[edit]
[-] options_fields.json
[edit]
[-] .htaccess.disabled
[edit]