??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/rosestpetronal.nl/wp-content/plugins/litespeed-cache/thirdparty/wcml.cls.php
⬅ Kembali
<?php
/**
* The Third Party integration with WCML.
*
* @since 3.0
* @package LiteSpeed
* @subpackage LiteSpeed_Cache\Thirdparty
*/
namespace LiteSpeed\Thirdparty;
defined('WPINC') || exit();
/**
* Provides compatibility with WCML for currency handling.
*/
class WCML {
/**
* Holds the current WCML currency.
*
* @var string
*/
private static $_currency = '';
/**
* Detect if WCML is active and register hooks.
*
* @since 3.0
* @access public
* @return void
*/
public static function detect() {
if (!defined('WCML_VERSION')) {
return;
}
add_filter('wcml_client_currency', __CLASS__ . '::apply_client_currency');
add_action('wcml_set_client_currency', __CLASS__ . '::set_client_currency');
}
/**
* Sets the client currency and triggers vary updates.
*
* @since 3.0
* @access public
* @param string $currency The currency code to set.
* @return void
*/
public static function set_client_currency( $currency ) {
self::apply_client_currency($currency);
do_action('litespeed_vary_ajax_force');
}
/**
* Applies the client currency and adjusts vary accordingly.
*
* @since 3.0
* @access public
* @param string $currency The currency code to apply.
* @return string The applied currency.
*/
public static function apply_client_currency( $currency ) {
self::$_currency = $currency;
add_filter('litespeed_vary', __CLASS__ . '::apply_vary');
return $currency;
}
/**
* Appends WCML currency to vary list.
*
* @since 3.0
* @access public
* @param array $vary_list The existing vary list.
* @return array The updated vary list including WCML currency.
*/
public static function apply_vary( $vary_list ) {
$vary_list['wcml_currency'] = self::$_currency;
return $vary_list;
}
}
Nama
Tipe
Ukuran
Diubah
Aksi
🐘 aelia-currencyswitcher.cls.php
php
2.7 KB
2026-04-01 20:54
🐘 amp.cls.php
php
2.4 KB
2026-04-01 20:54
🐘 autoptimize.cls.php
php
910 B
2026-04-01 20:54
🐘 avada.cls.php
php
813 B
2026-04-01 20:54
🐘 bbpress.cls.php
php
2.6 KB
2026-04-01 20:54
🐘 beaver-builder.cls.php
php
1.1 KB
2026-04-01 20:54
🐘 caldera-forms.cls.php
php
806 B
2026-04-01 20:54
🐘 divi-theme-builder.cls.php
php
3.6 KB
2026-04-01 20:54
🐘 elementor.cls.php
php
3.3 KB
2026-04-01 20:54
🐘 entry.inc.php
php
1.5 KB
2026-04-01 20:54
🐘 facetwp.cls.php
php
1.4 KB
2026-04-01 20:54
🐘 gravity-forms.cls.php
php
1.1 KB
2026-04-01 20:54
🐘 litespeed-check.cls.php
php
5.4 KB
2026-04-01 20:54
🐘 nextgengallery.cls.php
php
6.5 KB
2026-04-01 20:54
🐘 perfmatters.cls.php
php
996 B
2026-04-01 20:54
🐘 theme-my-login.cls.php
php
1 KB
2026-04-01 20:54
🐘 user-switching.cls.php
php
793 B
2026-04-01 20:54
🐘 wc-pdf-product-vouchers.cls.php
php
992 B
2026-04-01 20:54
🐘 wcml.cls.php
php
1.7 KB
2026-04-01 20:54
🐘 woo-paypal.cls.php
php
869 B
2026-04-01 20:54
🐘 woocommerce.cls.php
php
30.2 KB
2026-04-01 20:54
🐘 woocommerce.content.tpl.php
php
3.9 KB
2026-04-01 20:54
🐘 woocommerce.tab.tpl.php
php
230 B
2026-04-01 20:54
🐘 wp-polls.cls.php
php
807 B
2026-04-01 20:54
🐘 wp-postratings.cls.php
php
900 B
2026-04-01 20:54
🐘 wpdiscuz.cls.php
php
1.2 KB
2026-04-01 20:54
🐘 wplister.cls.php
php
870 B
2026-04-01 20:54
🐘 wpml.cls.php
php
1 KB
2026-04-01 20:54
🐘 wptouch.cls.php
php
879 B
2026-04-01 20:54
🐘 yith-wishlist.cls.php
php
5.2 KB
2026-04-01 20:54