WordPress filter hook
wcml_raw_price_amount
Fired by 61 WordPress plugins, running on 1.4M+ sites between them.
“WPML multi currency”
How to use wcml_raw_price_amount
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'wcml_raw_price_amount', function( $amount ) {
// Change $amount here.
return $amount;
}, 10, 1 );Argument names come from YITH WooCommerce Gift Cards's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
61 plugins that fire wcml_raw_price_amount
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Google for WooCommerce800,000+ installs
apply_filters( 'wcml_raw_price_amount', (float) $regular_price, $currency )src/Integration/WPML.php:233 -
WPML Multilingual & Multicurrency for WooCommerce100,000+ installs
apply_filters( 'wcml_raw_price_amount', $unformatted )compatibility/GravityForms/MulticurrencyHooks.php:15 -
Weight Based Shipping Table Rate for WooCommerce100,000+ installs
apply_filters( 'wcml_raw_price_amount', $value )vendor_prefixed/wpdesk/wc-currency-switchers-integrations/src/Switcher/WCML/Converter.php:23 -
Discount Rules for WooCommerce100,000+ installs
apply_filters( 'wcml_raw_price_amount', $price )v2/App/Compatibility/MultiCurrencyByWPML.php:22 -
Product Feed Manager for WooCommerce90,000+ installs
apply_filters( 'wcml_raw_price_amount', $price, $config->get_feed_currency() )compatibility/Shims/WooDiscountRulesFlycart.php:103 -
Customer Reviews for WooCommerce80,000+ installs
apply_filters( 'wcml_raw_price_amount', floatval( $prod_temp->get_price() ), $currency )includes/emails/class-cr-email-func.php:102 -
WPC Product Bundles for WooCommerce30,000+ installs
apply_filters( 'wcml_raw_price_amount', $base_amount )includes/class-compatible.php:358 -
PPOM20,000+ installs
apply_filters( 'wcml_raw_price_amount', $numeric_price )classes/plugin.class.php:982 -
WPMR Google Feed Manager for WooCommerce10,000+ installs
apply_filters( 'wcml_raw_price_amount', $raw_price, $resolved_currency )includes/application/wppfm-feed-processing-support.php:2331 -
Pay for Payment for WooCommerce10,000+ installs
apply_filters( 'wcml_raw_price_amount', $fee )src/Integrations/Wcml.php:28 -
Product Feed Manager for WooCommerce10,000+ installs
apply_filters( 'wcml_raw_price_amount', $original_price, $target_currency )admin/class-rex-product-feed-actions.php:1321 -
Flexible Product Fields (WooCommerce Product Addons)10,000+ installs
apply_filters( 'wcml_raw_price_amount', $price )classes/class-fpf-product-price.php:92 -
B2BKing10,000+ installs
apply_filters( 'wcml_raw_price_amount', $price, $current_currency )includes/class-b2bking-global-helper.php:2315 -
YITH WooCommerce Gift Cards10,000+ installs
apply_filters( 'wcml_raw_price_amount', $amount )includes/class-yith-ywgc-cart-checkout.php:202 -
Hungarian Pickup Points & Shipping Labels for WooCommerce7,000+ installs
apply_filters( 'wcml_raw_price_amount', $value )includes/class-helpers.php:1119 -
WPify Woo5,000+ installs
apply_filters( 'wcml_raw_price_amount', floatval( $price['value'] ) )src/Modules/Prices/PricesModule.php:485 -
UpsellWP5,000+ installs
apply_filters( 'wcml_raw_price_amount', $price )app/Modules/Compatibilities/WCML.php:102 -
PiWeb Disable payment method / Partial payment for WooCommerce4,000+ installs
apply_filters( 'wcml_raw_price_amount', (float)$price )includes/class-common-cart.php:98 -
AliNext4,000+ installs
apply_filters( 'wcml_raw_price_amount', $priceRaw, $currentCurrency )includes/classes/service/ProductService.php:295 -
CDEKDelivery3,000+ installs
apply_filters( 'wcml_raw_price_amount', $rule['value'], 'RUB' )src/Actions/CalculateDeliveryAction.php:186 -
PI Advanced Flat rate / Conditional shipping for WooCommerce2,000+ installs
apply_filters( 'wcml_raw_price_amount', (float)$price )includes/common.php:91 -
PI Conditional cart fee / Extra charge rule for WooCommerce2,000+ installs
apply_filters( 'wcml_raw_price_amount', (float)$price )includes/class-common-cart.php:138 -
MStore API2,000+ installs
apply_filters( 'wcml_raw_price_amount', (float) $base_price, $context['currency'] )controllers/helpers/flutter-currency-helper.php:445 -
Flexible PDF Coupons2,000+ installs
apply_filters( 'wcml_raw_price_amount', 100, $currency )vendor_prefixed/wpdesk/wp-coupons-core/src/Coupons/Integration/WpmlHelper.php:33 -
MyRewards2,000+ installs
apply_filters( 'wcml_raw_price_amount', $amount )assets/lws-adminpanel/include/tools/conveniences.php:81 -
Advanced Shipping Rates for WooCommerce: Flexible Table Rate Shipping Rules2,000+ installs
apply_filters( 'wcml_raw_price_amount', $value, get_woocommerce_currency() )fish-and-ships.php:1085 -
annasta Filters for WooCommerce1,000+ installs
apply_filters( 'wcml_raw_price_amount', $min_max_prices['min_price'], $current_currency )code/class-a-w-f-frontend.php:5039 -
Cryptocurrency Payment Gateway300+ installs
apply_filters( 'wcml_raw_price_amount', $price, $order->get_currency() )cryptocurrency-payment-gateway.php:1049 -
Web Directory plugin Free300+ installs
apply_filters( 'wcml_raw_price_amount', $price, $currency )directory/directory_payments_settings.php:307 -
Table rate shipping for WooCommerce200+ installs
apply_filters( 'wcml_raw_price_amount', $value )includes/compatibility/compbl.wpml.php:141 -
Product Feed Manager by Conversios: Google Shopping, TikTok, Meta & 100+ Channels100+ installs
apply_filters( 'wcml_raw_price_amount', $product_data['price'], $project_config['WCML'] )includes/setup/GenerateFile/classes/class-get-products.php:3180 -
avecdo for WooCommerce100+ installs
apply_filters( 'wcml_raw_price_amount', $metaRow->meta_value, $avecdoCurrency )src/Models/Model.php:269 -
DHL eCom Sweden80+ installs
apply_filters( 'wcml_raw_price_amount', 1, $current_currency )inc/woocommerce/DHL_ECOM_SE_MODEL_CHECKOUT.php:670 -
BundleBoss80+ installs
apply_filters( 'wcml_raw_price_amount', abs( $amount ) )includes/pricing.php:321 -
Recovero50+ installs
apply_filters( 'wcml_raw_price_amount', 1.0, $currency )includes/campaigns/class-ppl-acrw-campaigns-service.php:119 -
Simpler Checkout40+ installs
apply_filters( 'wcml_raw_price_amount', (float) $rate->get_cost(), $currency )includes/Compatibility/multi-currency.php:39 -
PrintPrice: STL & 3MF Price Calculator for WooCommerce30+ installs
apply_filters( 'wcml_raw_price_amount', $amount, $code )print-price.php:2919 -
NWS Product Filter10+ installs
apply_filters( 'wcml_raw_price_amount', $max_price )includes/class-nws-filter-functions.php:285 -
Kuwadema10+ installs
apply_filters( 'wcml_raw_price_amount', $amount )includes/class-currency.php:77 -
Discount Master10+ installs
apply_filters( 'wcml_raw_price_amount', $probe )includes/class-dmfwc-currency.php:39 -
Phoenix German Market DHL Multi-Currency Fix for WooCommerceFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount_eur, $to )src/Currency/Multicurrency_Price_Converter.php:80 -
J2T LoyaltyFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', 1, $currency )includes/class-j2t-loyalty-engine.php:171 -
Optogrid Eyeglasses for WooCommerceFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount )includes/logic-engine-functions.php:1232 -
Cresta Checkout for WooCommerceFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', (float) $value )inc/class-cbc-multilingual.php:177 -
MimeeqFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $price )src/php/Woo/CartHooks.php:4873 -
Easy2Cuba for WooCommerceFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount )includes/class-e2c-checkout.php:547 -
BeziworldFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', 1000, $active )src/Support/Environment.php:103 -
Naxolabs Order BumpFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount )includes/class-naxoorbu-discount.php:190 -
PluginCity Minimum Order for WooCommerceFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount, $active )includes/class-currency.php:110 -
PromoForge Smart Campaigns for WooCommerceFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $price )includes/class-promoforge-frontend.php:165 -
Milardovich Extra Coupon FeaturesFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount, $to )includes/Compat/MultiCurrency.php:113 -
Cartnorm B2BFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount )includes/class-compat.php:211 -
Aiolos Checkout for WooCommerceFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount, $current )src/Compat/Currency.php:122 -
Nanflows Sliding CartFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount )includes/class-compat.php:307 -
Sendra Shipping Rules for WooCommerceFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', 1000000 )includes/class-sendra-extras.php:138 -
Navidium Shipping ProtectionFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount, $from_currency )includes/class-navidium-currency.php:114 -
NudgeSellsFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount )includes/class-nudgesells-currency.php:48 -
Softminal B2B Suite for WooCommerceFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount, $active )app/Compat/MultiCurrency.php:118 -
PickPairFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount )app/Integrations/MultiCurrency.php:68 -
EzhanceFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $converted, $to_currency )includes/Compat/class-compatibility.php:199 -
Configurator for Product Packages by Forge12 Interactive GmbHFewer than 10 installs
apply_filters( 'wcml_raw_price_amount', $amount )includes/Compatibility/Currency.php:53
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.