WordPress filter hook
wc_aelia_cs_enabled_currencies
Fired by 11 WordPress plugins, running on 489K+ sites between them.
How to use wc_aelia_cs_enabled_currencies
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( 'wc_aelia_cs_enabled_currencies', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Argument names come from Wallet for WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
11 plugins that fire wc_aelia_cs_enabled_currencies
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Breeze Cache300,000+ installs
apply_filters( 'wc_aelia_cs_enabled_currencies', array() )inc/compatibility/class-breeze-aelia-compatibility.php:95 -
Product Feed Manager for WooCommerce90,000+ installs
apply_filters( 'wc_aelia_cs_enabled_currencies', $base )compatibility/Providers/CurrencyCompatibilityProvider.php:83 -
Product Filter for WooCommerce by WBW50,000+ installs
apply_filters( 'wc_aelia_cs_enabled_currencies', array() )modules/index/class-woobewoo-pf-index.php:836 -
Wholesale Suite20,000+ installs
apply_filters( 'wc_aelia_cs_enabled_currencies', array( self::shop_base_currency() ) )includes/class-wwp-aelia-currency-switcher-integration-helper.php:54 -
Wallet for WooCommerce20,000+ installs
apply_filters( 'wc_aelia_cs_enabled_currencies', array( $base ) )includes/multicurrency/providers/class-woo-wallet-currency-provider-aelia.php:70 -
EU VAT Assistant for WooCommerce5,000+ installs
apply_filters( 'wc_aelia_cs_enabled_currencies', array(get_option('woocommerce_currency'), $this->vat_currency()) )src/lib/classes/settings/settings.php:228 -
Advanced Shipping Rates for WooCommerce: Flexible Table Rate Shipping Rules2,000+ installs
apply_filters( 'wc_aelia_cs_enabled_currencies', array( $main_currency ) )fish-and-ships.php:1198 -
WholesaleX2,000+ installs
apply_filters( 'wc_aelia_cs_enabled_currencies', array( self::get_shop_base_currency() ) )includes/compatibility/aeila_currency_switcher.php:59 -
Cryptocurrency Payment Gateway300+ installs
apply_filters( 'wc_aelia_cs_enabled_currencies', array( $wc_currency ) )cryptocurrency-payment-gateway.php:1713 -
Business Bloomer Advanced Manual Orders for WooCommerce10+ installs
apply_filters( 'wc_aelia_cs_enabled_currencies', array() )includes/amowc-settings.php:304 -
QuoteCart ConnectorFewer than 10 installs
apply_filters( 'wc_aelia_cs_enabled_currencies', array( $base ) )inc/class-rest-api.php:182
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.