/
home
/
techb158
/
on-time-movers.com
/
wp-content
/
plugins
/
litespeed-cache
/
thirdparty
/
/home/techb158/on-time-movers.com/wp-content/plugins/litespeed-cache/thirdparty
mkdir
upload
Name
Size
Mode
Actions
aelia-currencyswitcher.cls.php
2733
0644
edit
dl
rm
amp.cls.php
2500
0644
edit
dl
rm
autoptimize.cls.php
910
0644
edit
dl
rm
avada.cls.php
813
0644
edit
dl
rm
bbpress.cls.php
2637
0644
edit
dl
rm
beaver-builder.cls.php
1143
0644
edit
dl
rm
caldera-forms.cls.php
806
0644
edit
dl
rm
divi-theme-builder.cls.php
3653
0644
edit
dl
rm
elementor.cls.php
3332
0644
edit
dl
rm
entry.inc.php
1546
0644
edit
dl
rm
facetwp.cls.php
1479
0644
edit
dl
rm
gravity-forms.cls.php
1171
0644
edit
dl
rm
litespeed-check.cls.php
5541
0644
edit
dl
rm
nextgengallery.cls.php
6669
0644
edit
dl
rm
perfmatters.cls.php
996
0644
edit
dl
rm
theme-my-login.cls.php
1034
0644
edit
dl
rm
user-switching.cls.php
793
0644
edit
dl
rm
wc-pdf-product-vouchers.cls.php
992
0644
edit
dl
rm
wcml.cls.php
1783
0644
edit
dl
rm
woo-paypal.cls.php
869
0644
edit
dl
rm
woocommerce.cls.php
30876
0644
edit
dl
rm
woocommerce.content.tpl.php
3999
0644
edit
dl
rm
woocommerce.tab.tpl.php
230
0644
edit
dl
rm
wp-polls.cls.php
807
0644
edit
dl
rm
wp-postratings.cls.php
900
0644
edit
dl
rm
wpdiscuz.cls.php
1210
0644
edit
dl
rm
wplister.cls.php
870
0644
edit
dl
rm
wpml.cls.php
1045
0644
edit
dl
rm
wptouch.cls.php
879
0644
edit
dl
rm
yith-wishlist.cls.php
5358
0644
edit
dl
rm
Edit:
/home/techb158/on-time-movers.com/wp-content/plugins/litespeed-cache/thirdparty/wcml.cls.php
(1783B)
<?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; } }
Save
cmd:
run