CURCY icon
eCommerce & WooCommerce

CURCY hooks reference

  • By VillaTheme
  • v2.2.22 New
  • Updated

CURCY 2.2.22 has 6 actions and 83 filters, read directly from its source code on Nov 17, 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.

functions.phpyour child theme
// Run your own code when CURCY fires an action
add_action( 'wmc_after_widget_form', function( $instance, $object ) {
	// Your code runs here.
}, 10, 2 );

// Change a value CURCY is about to use
add_filter( 'wmc_wc_price', function( $return, $price, $args, $unformatted_price ) {
	// Change $return here.
	return $return;
}, 10, 4 );

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

  • wmc_wc_price

    filter
    frontend/symbol.php line 93 · used in 2 places
    /**
     * Filters the string of price markup.
     */
    apply_filters( 'wmc_wc_price', $return, $price, $args, $unformatted_price );
  • wmc_get_price

    filter
    frontend/price.php line 305 · used in 4 places
    apply_filters( 'wmc_get_price', $raw_price * $rate_num, $detect_currency_code );
  • includes/data.php line 1342 · used in 3 places
    apply_filters( 'formatted_woocommerce_price', number_format( $price, $args['decimals'], $decimal_separator, $thousand_separator ), $price, $args['decimals'], $decimal_separator, $thousand_separator );
  • includes/data.php line 1341 · used in 3 places
    apply_filters( 'raw_woocommerce_price', (float) ( $negative ? $price * - 1 : $price ), $original_price );
  • wc_price_args

    filter
    includes/data.php line 1323 · used in 3 places
    apply_filters( 'wc_price_args', wp_parse_args( $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(), ) ) );
  • frontend/design.php line 77 · used in 3 places
    apply_filters( 'wmc_enable_cache_compatible_frontend', $this->settings->get_param( 'cache_compatible' ) );
  • widget_title

    filter
    frontend/widgets/widget-rates.php line 34 · used in 2 places
    apply_filters( 'widget_title', $instance['title'] );
  • frontend/widgets/widget-rates.php line 59 · used in 2 places
    do_action( 'wmc_after_widget_form', $instance, $this );
  • frontend/design.php line 81 · used in 2 places
    apply_filters( 'wmc_frontend_extra_params', array() );
  • includes/data.php line 1353 · used in 2 places
    apply_filters( 'wmc_get_trimmed_decimal_places', 0, $value );
  • frontend/widgets/widget-rates.php line 75 · used in 2 places
    apply_filters( 'wmc_save_widget_data', $instance, $new_instance, $old_instance );
  • wmc_shortcode

    filter
    frontend/widgets/widget-rates.php line 37 · used in 2 places
    apply_filters( 'wmc_shortcode', "[woo_multi_currency_rates]", $instance );
  • frontend/shortcode.php line 654 · used in 2 places
    apply_filters( 'wmc_shortcode_custom_currency', $display_current_currency );
  • includes/data.php line 1304 · used in 2 places
    apply_filters( "woo_multi_currency_params-{$name_language}", $this->params[ $name_language ] );
  • plugins/woocommerce_product_addons.php line 76 · used in 2 places
    apply_filters( 'woocommerce_addons_add_price_to_name', true, $addon );
  • frontend/filter-price.php line 232 · used in 2 places
    apply_filters( 'woocommerce_price_filter_meta_keys', array( '_price' ) );
  • frontend/filter-price.php line 67 · used in 2 places
    apply_filters( 'woocommerce_price_filter_widget_tax_class', '' );
  • plugins/learnpress.php line 325 · used in 2 places
    apply_filters( 'woocommerce_price_trim_zeros', false );
  • frontend/price.php line 112 · used in 2 places
    apply_filters( 'woocommerce_product_get_price', $display_price, $product );
  • plugins/visual_product_builder.php line 189
    apply_filters( 'extracted_option_field_from_config', $field, $config );
  • plugins/woocommerce-tm-extra-product-options.php line 72
    apply_filters( 'tc_get_default_currency', $this->settings->get_default_currency() );
  • plugins/catna.php line 20
    apply_filters( 'vicatna_applicanle_product_type', [ 'simple' ] );
  • includes/support.php line 974
    apply_filters( 'villatheme_check_requires', wp_parse_args( $args, [ 'plugin_name' => '', 'php_version' => '', 'wp_version' => '', 'wc_version' => '', 'require_plugins' => [], ] ) );
  • includes/support.php line 535
    apply_filters( 'villatheme_form_ads_data', ob_get_clean() );
  • admin/settings.php line 1667
    do_action( 'villatheme_support_woo-multi-currency' );
  • plugins/visual_product_builder.php line 163
    apply_filters( 'vpc_config_price', $total_price, $product_id, $config, $cart_item, $statut );
  • includes/data.php line 864
    apply_filters( 'wmc_background_color', $this->params['background_color'] );
  • includes/functions.php line 71
    do_action( 'wmc_before_template_part', $template_name, $template_path, $located, $args );
  • plugins/woocommerce-tm-extra-product-options.php line 180
    apply_filters( 'wmc_change_3rd_plugin_price', $price, $from_currency, $to_currency );
  • includes/data.php line 812
    apply_filters( 'wmc_check_fixed_price', $this->params['enable_fixed_price'] );
  • includes/functions.php line 437
    apply_filters( 'wmc_convert_price_matching_decimals', $match_decimals, $currency_code, $is_shipping );
  • includes/data.php line 106
    apply_filters( 'wmc_enable_collapse', $this->params['enable_collapse'] );
  • frontend/shipping.php line 106
    apply_filters( 'wmc_excluded_shipping_methods_from_converting', array( 'aramex', 'free_shipping', 'wf_shipping_ups', 'betrs_shipping', 'printful_shipping', 'easyship', 'printful_shipping_PRINTFUL_SLOW', 'printful_shipping_STANDARD', 'printful_shipping_PRINTFUL_MEDIUM', 'myfatoorah_shipping', 'checkout_envia_shipping', 'envia_shipping', 'fan_courier', 'flexible_shipping', 'flexible_shipping_single', ) );
  • includes/functions.php line 817
    apply_filters( 'wmc_frontend_ignore_nonce_verify', 1 === (int) $cache_compatible_mode );
  • includes/data.php line 1254
    apply_filters( 'wmc_get_auto_detect', $this->params['auto_detect'] );
  • includes/data.php line 140
    apply_filters( 'wmc_get_conditional_tags', $this->params['conditional_tags'] );
  • includes/data.php line 768
    apply_filters( 'wmc_get_currencies', $currencies );
  • includes/data.php line 1213
    apply_filters( "wmc_get_currency_by_countries_{$currency_code}", $countries_code );
  • includes/data.php line 1192
    apply_filters( "wmc_get_currency_by_language_{$language_slug}", $currency_code );
  • includes/data.php line 422
    apply_filters( 'wmc_get_currency_code', $arg[ $country_code ], $arg, $country_code );
  • includes/data.php line 1171
    apply_filters( "wmc_get_currency_wpml_by_language{$language_slug}", $currency_code );
  • includes/data.php line 164
    apply_filters( 'wmc_get_custom_css', $this->params['custom_css'] );
  • includes/data.php line 1272
    apply_filters( 'wmc_get_default_currency', $this->params['currency_default'] );
  • includes/data.php line 848
    apply_filters( 'wmc_get_design_position', $this->params['design_position'] );
  • includes/data.php line 820
    apply_filters( 'wmc_get_design_title', $this->params['design_title'] );
  • includes/data.php line 1264
    apply_filters( 'wmc_get_enable', $this->params['enable'] );
  • includes/data.php line 1245
    apply_filters( 'wmc_get_enable_currency_by_country', $this->params['enable_currency_by_country'] );
  • includes/data.php line 837
    apply_filters( 'wmc_get_enable_design', $this->params['enable_design'] );
  • includes/data.php line 1152
    apply_filters( 'wmc_get_enable_multi_payment', $this->params['enable_multi_payment'] );
  • includes/data.php line 940
    apply_filters( 'wmc_get_exchange', $rates );
  • includes/data.php line 649
    apply_filters( 'wmc_get_flag_custom', $value );
  • includes/data.php line 123
    apply_filters( 'wmc_get_geo_api', $this->params['geo_api'] );
  • includes/data.php line 132
    apply_filters( 'wmc_get_geo_api_key', $this->params['geo_api_key'] );
  • includes/data.php line 736
    apply_filters( 'wmc_get_list_currencies', $data );
  • includes/data.php line 789
    apply_filters( 'wmc_get_list_shortcodes', array( '' => esc_html__( 'Default', 'woo-multi-currency' ), 'plain_horizontal' => esc_html__( 'Plain Horizontal', 'woo-multi-currency' ), 'plain_vertical' => esc_html__( 'Plain Vertical', 'woo-multi-currency' ), 'plain_vertical_2' => esc_html__( 'Listbox currency code', 'woo-multi-currency' ), 'layout3' => esc_html__( 'List Flag Horizontal', 'woo-multi-currency' ), 'layout4' => esc_html__( 'Lis... );
  • includes/data.php line 828
    apply_filters( 'wmc_get_main_color', $this->params['main_color'] );
  • includes/data.php line 1234
    apply_filters( "wmc_get_payments_by_currency_{$currency_code}", $payments );
  • includes/data.php line 98
    apply_filters( 'wmc_get_price_switcher', $this->params['price_switcher'] );
  • frontend/cache.php line 204
    do_action( 'wmc_get_products_price_ajax_handle_after' );
  • frontend/cache.php line 86
    do_action( 'wmc_get_products_price_ajax_handle_before' );
  • frontend/cache.php line 205
    apply_filters( 'wmc_get_products_price_ajax_handle_response', $result );
  • includes/data.php line 949
    apply_filters( 'wmc_get_rate_decimals', $this->params['rate_decimals'] );
  • includes/data.php line 114
    apply_filters( 'wmc_get_sidebar_style', $this->params['sidebar_style'] );
  • includes/functions.php line 70
    apply_filters( 'wmc_get_template', $located, $template_name, $args, $template_path, $default_path );
  • plugins/google_index.php line 84
    apply_filters( 'wmc_google_bots_list', array( 'googlebot', 'google-sitemaps', 'appEngine-google', 'feedfetcher-google', 'googlealert.com', 'AdsBot-Google', 'google' ) );
  • wmc_is_cart

    filter
    includes/data.php line 148
    apply_filters( 'wmc_is_cart', $this->params['is_cart'] );
  • includes/data.php line 156
    apply_filters( 'wmc_is_checkout', $this->params['is_checkout'] );
  • includes/functions.php line 103
    apply_filters( 'wmc_locate_template', $template, $template_name, $template_path );
  • plugins/google_index.php line 103
    apply_filters( 'wmc_other_bots_list', array( 'facebook', 'rambler', 'aport', 'yahoo', 'msnbot', 'turtle', 'mail.ru', 'omsktele', 'yetibot', 'picsearch', 'sape.bot', 'sape_context', 'gigabot', 'snapbot', 'alexa.com', 'megadownload.net', 'askpeter.info', 'igde.ru', 'ask.com', 'qwartabot', 'yanga.co.uk', 'scoutjet', 'similarpages', 'oozbot', 'shrinktheweb.com', 'aboutusbot', 'followsite.com', 'dataparksearch', 'liveinternet.ru', 'xml-... );
  • plugins/google_index.php line 43
    apply_filters( 'wmc_set_currency_for_bot_index', $this->get_bot_currency() );
  • plugins/google_index.php line 41
    apply_filters( 'wmc_set_currency_for_google_bot_index', $this->get_bot_currency() );
  • frontend/symbol.php line 270
    apply_filters( 'wmc_set_decimals', $decimal, $current_currency );
  • includes/data.php line 81
    apply_filters( 'wmc_settings_args', wp_parse_args( $this->params, $args ) );
  • templates/woo-multi-currency-selector.php line 26
    apply_filters( 'wmc_shortcode_currency_display_text', $name, $code );
  • admin/product.php line 24
    apply_filters( 'wmc_simple_product_type_register', array( 'simple', 'external', 'bundle', 'course', 'subscription', 'woosb', 'composite', 'appointment', ) );
  • includes/functions.php line 73
    do_action( 'wmc_template_part', $template_name, $template_path, $located, $args );
  • includes/data.php line 856
    apply_filters( 'wmc_text_color', $this->params['text_color'] );
  • plugins/woo-wallet.php line 135
    apply_filters( 'wmc_woo_wallet_skip_convert_credit', $this->skip_convert_credit, $order_id );
  • includes/data.php line 1309
    apply_filters( "woo_multi_currency_params-{$name}", $this->params[ $name ] );
  • plugins/woocommerce_bookings.php line 114
    apply_filters( 'woocommerce_bookings_booking_cost_string', esc_html__( 'Booking cost', 'woo-multi-currency' ), $product );
  • plugins/woocommerce_edostavka.php line 25
    apply_filters( 'woocommerce_edostavka_shipping_methods_classes', array( 'edostavka-package-door' => 'WC_Edostavka_Shipping_Package_Door', 'edostavka-package-door-door' => 'WC_Edostavka_Shipping_Package_Door_Door', 'edostavka-package-door-stock' => 'WC_Edostavka_Shipping_Package_Door_Stock', 'edostavka-package-stock' => 'WC_Edostavka_Shipping_Package_Stock', 'edostavka-econom-door' => 'WC_Edostavka_Shipping_Econom_Door', 'edostavka-econom-stock' => 'WC_Edosta... );
  • frontend/shipping.php line 218
    apply_filters( 'woocommerce_evaluate_shipping_cost_args', $args, $sum, $method );
  • frontend/price.php line 617
    apply_filters( 'woocommerce_is_checkout', false );
  • frontend/checkout.php line 137
    apply_filters( 'woocommerce_update_order_review_fragments', array( '.woocommerce-checkout-review-order-table' => $woocommerce_order_review, '.woocommerce-checkout-payment' => $woocommerce_checkout_payment, ) );
  • plugins/woo-product-bundle.php line 160
    apply_filters( 'woosb_item_price_add_to_cart', $_price * ( 100 - $discount_percentage ) / 100, $item );
  • plugins/yith-woocommerce-points-and-rewards-premium.php line 32
    apply_filters( 'ywpar_conversion_method', ywpar_get_option( 'conversion_rate_method' ) );
  • plugins/yith-woocommerce-points-and-rewards-premium.php line 82
    apply_filters( 'ywpar_rewards_percentual_conversion_rate', $conversion );

Generated from CURCY's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: