Shop Currency Switcher for WooCommerce 3.2.2 has 1 actions and 26 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Change a value Shop Currency Switcher for WooCommerce is about to use
add_filter( 'alg_wc_currency_switcher_plugin_option', function( $sprintf, $arg2 ) {
// Change $sprintf here.
return $sprintf;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
apply_filters( 'alg_wc_currency_switcher_plugin_option', sprintf( __( 'To enable countries, you will need %s plugin.', 'currency-switcher-woocommerce' ), '<a target="_blank" href="' . esc_url( 'https://wpwham.com/products/currency-switcher-for-woocommerce/?utm_source=settings_countries&utm_campaign=free&utm_medium=currency_switcher' ) . '">' . __( 'Currency Switcher for WooCommerce Pro', 'currency-switcher-woocommerce' ) . '</a>' ), 'settings' ); -
apply_filters( 'active_plugins', get_option( 'active_plugins', array() ) ); -
apply_filters( "alg_currency_switcher_{$the_id}_settings", array() ); -
alg_currency_switcher_show_flags_in_admin_settings_enabled
filter Used by 2 plugins β Copy link Customise this hookapply_filters( 'alg_currency_switcher_show_flags_in_admin_settings_enabled', 'yes' ); -
apply_filters( 'alg_wc_cs_get_exchange_rate', $return, $server, $currency_from, $currency_to ); -
apply_filters( 'alg_wc_currency_switcher_correction', array( 'shop_precision' => $shop_precision_original, 'rounding_precision' => get_option( 'alg_currency_switcher_rounding_precision', $shop_precision_original ), 'rounding' => get_option( 'alg_currency_switcher_rounding', 'no_round' ), 'pretty_price' => get_option( 'alg_currency_switcher_make_pretty_price', 'no' ) ), $currency_code ); -
alg_wc_currency_switcher_country_flag_image_url
filter Used by 2 plugins β Copy link Customise this hookapply_filters( 'alg_wc_currency_switcher_country_flag_image_url', alg_wc_currency_switcher_plugin()->plugin_url() . '/assets/images/flag-icons/' . strtolower( $country_code ) . '.png' ); -
apply_filters( 'wc_price_args', array( 'ex_tax_label' => false, 'currency' => '', 'decimal_separator' => wc_get_price_decimal_separator(), 'thousand_separator' => wc_get_price_thousand_separator(), 'decimals' => wc_get_price_decimals(), 'price_format' => get_woocommerce_price_format(), ) ); -
apply_filters( 'widget_title', $instance['title'] ); -
apply_filters( 'woocommerce_addons_add_price_to_name', '__return_true' ); -
apply_filters( 'woocommerce_currency_symbol', get_woocommerce_currency_symbol(), get_woocommerce_currency() ); -
apply_filters( 'woocommerce_customer_default_location', get_option( 'woocommerce_default_country' ) ); -
apply_filters( "woocommerce_get_settings_{$this->id}_{$current_section}", array() ); -
apply_filters( 'woocommerce_paypal_supported_currencies', array( 'AUD', 'BRL', 'CAD', 'MXN', 'NZD', 'HKD', 'SGD', 'USD', 'EUR', 'JPY', 'TRY', 'NOK', 'CZK', 'DKK', 'HUF', 'ILS', 'MYR', 'PHP', 'PLN', 'SEK', 'CHF', 'TWD', 'THB', 'GBP', 'RUB' ) ); -
woocommerce_price_filter_widget_tax_class
filter Used by 20 plugins β Copy link Customise this hookapply_filters( 'woocommerce_price_filter_widget_tax_class', '' ); -
apply_filters( 'woocommerce_price_format', $format, $currency_pos ); -
do_action( "woocommerce_settings_{sanitize_title($value['id'])}" ); -
apply_filters( 'wpw_cs_http_request', false, $url, $headers ); -
apply_filters( 'wpw_cs_loading_hook', 'plugins_loaded' ); -
apply_filters( 'wpw_cs_loading_priority', 2 ); -
apply_filters( 'wpw_cs_tcmb_property_to_check', '' ); -
wpw_currency_switcher_adjust_package_rate
filter Used by 2 plugins β Copy link Customise this hookapply_filters( 'wpw_currency_switcher_adjust_package_rate', true, $package_rate ); -
wpwham_currency_switcher_change_shipping_price_by_currency
filter Used by 2 plugins β Copy link Customise this hookapply_filters( 'wpwham_currency_switcher_change_shipping_price_by_currency', true ); -
wpwham_currency_switcher_cleanup_ended_sales_prices
filter Used by 2 plugins β Copy link Customise this hookapply_filters( 'wpwham_currency_switcher_cleanup_ended_sales_prices', true ); -
wpwham_currency_switcher_compatibility_ppom
filter Used by 2 plugins β Copy link Customise this hookapply_filters( 'wpwham_currency_switcher_compatibility_ppom', false ); -
wpwham_currency_switcher_compatibility_product_addons
filter Used by 2 plugins β Copy link Customise this hookapply_filters( 'wpwham_currency_switcher_compatibility_product_addons', true ); -
wpwham_currency_switcher_output_price_filter_js
filter Used by 2 plugins β Copy link Customise this hookapply_filters( 'wpwham_currency_switcher_output_price_filter_js', true );
Generated from Shop Currency Switcher for WooCommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and weβll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the pluginβs own hooks.
- Code written against the pluginβs actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2β3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the pluginβs files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3β7 business days
Choose thisNot sure which fits? Describe what you need and weβll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: