PATH:
home
/
thebhoeo
/
.trash
/
woodmart
/
inc
/
integrations
<?php /** * CURCY - WooCommerce Multi Currency Premium * * @package woodmart */ if ( ! defined( 'WOOMULTI_CURRENCY_VERSION' ) ) { return; } if ( ! function_exists( 'woodmart_curcy_convert_price_limit' ) ) { /** * Converse shipping progress bar limit. * * @param float $limit * @return float */ function woodmart_curcy_convert_price_limit( $limit ) { if ( 'wc' === woodmart_get_opt( 'shipping_progress_bar_calculation', 'custom' ) ) { return $limit; } $currency_data = WOOMULTI_CURRENCY_Data::get_ins(); $currencies = $currency_data->get_list_currencies(); $current_currency = $currency_data->get_current_currency(); if ( array_key_exists( $current_currency, $currencies ) ) { $limit *= $currencies[ $current_currency ]['rate']; } return $limit; } add_filter( 'woodmart_shipping_progress_bar_amount', 'woodmart_curcy_convert_price_limit' ); }
[+]
gutenberg
[-] woocs.php
[edit]
[+]
elementor
[-] woo-subscriptions.php
[edit]
[-] curcy.php
[edit]
[-] wcfm.php
[edit]
[-] aioseo.php
[edit]
[-] woo-preview-emails.php
[edit]
[-] wcpay.php
[edit]
[-] tgm-plugin-activation.php
[edit]
[-] rank-math.php
[edit]
[-] imagify.php
[edit]
[-] wpml.php
[edit]
[-] yoast.php
[edit]
[-] revslider.php
[edit]
[-] wcfmmp.php
[edit]
[+]
woocommerce
[-] dokan.php
[edit]
[-] wcmp.php
[edit]
[+]
..
[-] vgse.php
[edit]
[+]
visual-composer
[-] cartflows.php
[edit]
[-] rocket.php
[edit]
[-] wordfence.php
[edit]