Contact
Data & Uninstall / Developer: exfee_convert_amount filter
  1. Home
  2. Extra Fees Lite for WooCommerce
  3. Data & Uninstall
  4. Developer: exfee_convert_amount filter
Data & Uninstall

Developer: exfee_convert_amount filter

1 min readUpdated Nov 7, 2026

The plugin provides one filter for developers. exfee_convert_amount receives an amount in the store base currency and should return the amount converted for the customer. It is applied to fixed fees, the maximum fee and the subtotal conditions.

Place code like this in a small custom plugin, not in the plugin's own files:

add_filter( 'exfee_convert_amount', function ( $amount ) {
    // Return the converted amount from your currency switcher.
    return $amount;
} );