WPML Multilingual & Multicurrency for WooCommerce icon
eCommerce & WooCommerce

WPML Multilingual & Multicurrency for WooCommerce hooks reference

  • By Amir Helzer
  • v5.6.3
  • Updated

WPML Multilingual & Multicurrency for WooCommerce 5.6.3 has 43 actions and 136 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 WPML Multilingual & Multicurrency for WooCommerce fires an action
add_action( 'wpml_register_single_string', function( $arg1, $arg2, $comment_content, $arg4, $language ) {
	// Your code runs here.
}, 10, 5 );

// Change a value WPML Multilingual & Multicurrency for WooCommerce is about to use
add_filter( 'wpml_object_id', function( $variation_id, $arg2, $arg3, $language ) {
	// Change $variation_id here.
	return $variation_id;
}, 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

  • classes/DownloadableFiles/SyncDownloadableFilesFromATE.php line 92 · used in 158 places
    apply_filters( 'wpml_object_id', $variation_id, 'product_variation', false, $language );
  • classes/order-property-filter/class-wcml-payment-method-filter.php line 37 · used in 21 places
    apply_filters( 'wpml_translate_single_string', $original_title, Strings::TRANSLATION_DOMAIN, Strings::getStringName( $payment_gateway->id, 'title' ) );
  • compatibility/GravityForms/MulticurrencyHooks.php line 15 · used in 17 places
    apply_filters( 'wcml_raw_price_amount', $unformatted );
  • classes/Reviews/Translations/FrontEndHooks.php line 62 · used in 16 places
    do_action( 'wpml_register_single_string', self::CONTEXT, self::getReviewStringName( $review ), $review->comment_content, false, $language );
  • classes/Abilities/Hooks.php line 83 · used in 13 places
    apply_filters( 'wpml_current_language', null );
  • classes/Utilities/AdminUrl.php line 101 · used in 9 places
    apply_filters( 'wcml_bonded_target_url', '', 'troubleshooting-safe' );
  • classes/TranslationJob/Hooks.php line 66 · used in 8 places
    apply_filters( 'wpml_labelize_string', $group, 'TranslationJob' );
  • inc/currencies/class-wcml-multi-currency-table-rate-shipping.php line 15 · used in 5 places
    apply_filters( 'wcml_shipping_price_amount', $rates[ $k ]->rate_cost );
  • classes/Abilities/Hooks.php line 138 · used in 4 places
    apply_filters( 'wpml_active_languages', null );
  • classes/product/Hooks.php line 22 · used in 4 places
    apply_filters( 'wpml_element_language_code', '', [ 'element_id' => Obj::prop( 'post_parent', $args ), 'element_type' => 'product_variation' ] );
  • classes/Multicurrency/Shipping/VariableCost.php line 89 · used in 4 places
    apply_filters( 'wpml_element_trid', null, $termId, 'tax_product_shipping_class' );
  • classes/Multicurrency/Shipping/VariableCost.php line 90 · used in 4 places
    apply_filters( 'wpml_get_element_translations', null, $termTrid, 'tax_product_shipping_class' );
  • classes/Rest/Language/Set.php line 70 · used in 4 places
    apply_filters( 'wpml_post_language_details', [], $request->get_param( 'id' ) );
  • compatibility/WcCheckoutAddons/class-wcml-checkout-addons.php line 48 · used in 4 places
    do_action( 'wpml_register_string', $string, $key, $package, sprintf( '%s %s', $string, ucfirst( $element ) ), $package->kind );
  • classes/Abilities/Hooks.php line 130 · used in 4 places
    do_action( 'wpml_switch_language', $language );
  • compatibility/WcCheckoutAddons/class-wcml-checkout-addons.php line 66 · used in 4 places
    apply_filters( 'wpml_translate_string', $text, $key, $package );
  • classes/Synchronization/Component/Meta.php line 11 · used in 3 places
    do_action( 'wcml_after_duplicate_product_post_meta', $product->ID, $translationId, false );
  • inc/currencies/class-wcml-multi-currency.php line 379 · used in 3 places
    apply_filters( 'wcml_client_currency', wcml_get_woocommerce_currency_option() );
  • inc/admin-menus/class-wcml-admin-menus.php line 72 · used in 3 places
    apply_filters( 'wcml_is_attributes_page', 'product_attributes' === $get_page );
  • compatibility/GravityForms/MulticurrencyHooks.php line 14 · used in 3 places
    apply_filters( 'wcml_price_currency', wcml_get_woocommerce_currency_option() );
  • classes/Permalinks/TaxonomySlugTranslationActivator.php line 48 · used in 3 places
    do_action( 'wpml_activate_slug_translation', $taxonomyByStringName[ $name ], $string->get_value(), WPML_Slug_Translation_Factory::TAX );
  • classes/Rest/Wrapper/Orders/Languages.php line 30 · used in 3 places
    apply_filters( 'wpml_default_language', null );
  • classes/Multicurrency/Shipping/ShippingClasses.php line 28 · used in 3 places
    apply_filters( 'wpml_element_language_details', false, [ 'element_id' => $shippingClass->term_id, 'element_type' => $shippingClass->taxonomy, ] );
  • compatibility/WcBookings/Slots.php line 21 · used in 3 places
    apply_filters( 'wpml_element_type', get_post_type( $productId ) );
  • classes/Synchronization/Hooks.php line 90 · used in 3 places
    apply_filters( 'wpml_is_operation', false, 'make_duplicates' );
  • classes/Synchronization/Component/Taxonomies.php line 34 · used in 3 places
    apply_filters( 'wpml_is_translated_taxonomy', false, $taxonomy );
  • inc/translation-editor/class-wcml-wc-admin-duplicate-product.php line 41 · used in 2 places
    do_action( 'wcml_after_duplicate_product', $new_id, $post_to_duplicate );
  • inc/currencies/class-wcml-custom-prices.php line 515 · used in 2 places
    do_action( 'wcml_after_save_custom_prices', $post_id, $product_price, $custom_prices, $code );
  • classes/Synchronization/Manager.php line 97 · used in 2 places
    do_action( 'wcml_after_sync_product_data', $product->ID, $translationId, $translationsLanguages[ $translationId ] );
  • classes/Synchronization/Manager.php line 84 · used in 2 places
    do_action( 'wcml_before_sync_product_data', $product->ID, $translationId, $translationsLanguages[ $translationId ] );
  • inc/translation-editor/class-wcml-editor-ui-product-job.php line 831 · used in 2 places
    apply_filters( 'wcml_do_not_display_custom_fields_for_product', $this->not_display_custom_fields_for_product );
  • classes/PaymentGateways/Settings/TranslationControls.php line 164 · used in 2 places
    apply_filters( 'wcml_gateway_text_keys_to_translate', Strings::TRANSLATABLE_SETTINGS );
  • inc/translation-editor/class-wcml-editor-ui-product-job.php line 827 · used in 2 places
    apply_filters( 'wcml_not_display_single_fields_to_translate', $this->not_display_fields_for_variables_product );
  • classes/media/class-wcml-product-gallery-filter.php line 24 · used in 2 places
    apply_filters( 'wcml_product_localize_image_ids_legacy_mode', false );
  • classes/Synchronization/Component/VariationTaxonomies.php line 23 · used in 2 places
    apply_filters( 'wcml_product_variations_taxonomies_to_sync', $taxonomiesToSync, $variationId, $translationId, $language );
  • classes/Multicurrency/Resolver/ResolverForModeLanguage.php line 29 · used in 2 places
    apply_filters( 'wcml_switch_currency_exception', false, $storedCurrency, $initialCurrencyForLang, true );
  • inc/currencies/class-wcml-custom-prices.php line 501 · used in 2 places
    apply_filters( 'wcml_update_custom_prices_values', [ '_regular_price' => $regular_price, '_sale_price' => $sale_price, '_wcml_schedule' => $schedule, '_sale_price_dates_from' => $date_from, '_sale_price_dates_to' => $date_to, ], $code, $post_id );
  • inc/class-wcml-products.php line 103 · used in 2 places
    apply_filters( 'wcml_variation_term_taxonomy_ids', (array) $get_variation_term_taxonomy_ids );
  • classes/wcml-setup/class-wcml-setup.php line 213 · used in 2 places
    apply_filters( 'wpml_get_setting', false, 'custom_posts_unlocked_option' );
  • inc/class-wcml-wc-strings.php line 309 · used in 2 places
    apply_filters( 'wpml_get_string_language', null, $context, $name );
  • inc/class-wcml-url-translation.php line 743 · used in 2 places
    apply_filters( 'wpml_get_translated_slug', $slug, $taxonomy, $language, WPML_Slug_Translation_Factory::TAX );
  • compatibility/class-wcml-compatibility-helper.php line 10
    apply_filters( 'default_product_type', 'simple' );
  • inc/class-wcml-store-pages.php line 295
    apply_filters( 'icl_lang_sel_copy_parameters', array_map( 'trim', explode( ',', wpml_get_setting_filter( '', 'icl_lang_sel_copy_parameters' ) ) ) );
  • inc/missing-php-functions.php line 55
    apply_filters( 'rest_url_prefix', 'wp-json' );
  • classes/urls/class-wcml-xdomain-data.php line 74
    apply_filters( 'wc_session_expiration', 60 * 60 * 48 );
  • inc/class-wcml-cart.php line 611
    apply_filters( 'wcml_add_to_cart_sold_individually', true, $cart_item_data, $post_id, $cart_item['quantity'] );
  • inc/currencies/class-wcml-custom-prices.php line 258
    do_action( 'wcml_after_custom_prices_block', $product_id );
  • inc/class-wcml-resources.php line 314
    do_action( 'wcml_after_load_lock_fields_js' );
  • classes/Synchronization/Manager.php line 74
    do_action( 'wcml_after_sync_product', $originalProduct->ID, $product->ID );
  • classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php line 74
    do_action( 'wcml_before_init_currency_payment_gateways' );
  • inc/currencies/class-wcml-multi-currency.php line 443
    do_action( 'wcml_before_switch_currency', $currency, $force_switch );
  • classes/Synchronization/Manager.php line 72
    do_action( 'wcml_before_sync_product', $originalProduct->ID, $product->ID );
  • compatibility/WcBookings/MulticurrencyHooks.php line 457
    do_action( 'wcml_bookings_resource_costs_updated', $postId, $key );
  • inc/class-wcml-cart.php line 399
    apply_filters( 'wcml_cart_contents', $new_cart_data, $cart->cart_contents, $key, $new_key );
  • inc/class-wcml-cart.php line 366
    apply_filters( 'wcml_cart_contents_not_changed', $cart->cart_contents[ $key ], $key, $current_language );
  • compatibility/WcCheckoutFieldEditor/class-wcml-checkout-field-editor.php line 41
    apply_filters( 'wcml_cfe_exclude_fields_to_register', $exclude_fields );
  • inc/translation-editor/class-wcml-editor-ui-product-job.php line 885
    apply_filters( 'wcml_check_is_single', true, $product_id, $meta_key );
  • inc/class-wcml-cart.php line 443
    apply_filters( 'wcml_check_on_duplicated_products_in_cart', $cart_contents, $key, $cart_content );
  • inc/currencies/currency-switcher/class-wcml-currency-switcher-templates.php line 145
    apply_filters( 'wcml_cs_directories_to_scan', $dirs_to_scan );
  • inc/currencies/currency-switcher/class-wcml-currency-switcher.php line 175
    apply_filters( 'wcml_cs_template_css_classes', $classes );
  • inc/currencies/class-wcml-multi-currency.php line 473
    apply_filters( 'wcml_currencies_without_cents', $this->currencies_without_cents );
  • inc/currencies/currency-switcher/class-wcml-currency-switcher-widget.php line 25
    do_action( 'wcml_currency_switcher', [ 'switcher_id' => $getId( $args ) ?: $getId( $instance ) ] );
  • inc/class-wcml-wc-gateways.php line 188
    apply_filters( 'wcml_current_gateway_language', $current_gateway_language );
  • inc/template-classes/multi-currency/class-wcml-custom-prices-ui.php line 22
    apply_filters( 'wcml_custom_prices_fields', [ '_regular_price', '_sale_price' ], $product_id );
  • inc/template-classes/multi-currency/class-wcml-custom-prices-ui.php line 23
    apply_filters( 'wcml_custom_prices_fields_labels', [ '_regular_price' => __( 'Regular Price', 'woocommerce-multilingual' ), '_sale_price' => __( 'Sale Price', 'woocommerce-multilingual' ), ], $product_id );
  • inc/template-classes/multi-currency/class-wcml-custom-prices-ui.php line 44
    apply_filters( 'wcml_custom_prices_strings', [ 'not_set' => sprintf( __( 'Multi-currency is enabled, but no secondary currencies have been set. %1$sAdd secondary currency%2$s.', 'woocommerce-multilingual' ), '<a href="' . \WCML\Utilities\AdminUrl::getMultiCurrencyTab() . '">', '</a>' ), 'calc_auto' => __( 'Calculate prices in other currencies automatically', 'woocommerce-multilingual' ), 'see_prices' => __( 'Click to see the prices in the... );
  • classes/EditorScopedSync/Notices.php line 284
    apply_filters( 'wcml_editor_scoped_heavy_load_threshold', self::SWITCH_HINT_ITERATION_THRESHOLD );
  • classes/Synchronization/Component/Variations.php line 42
    apply_filters( 'wcml_editor_scoped_variation_ids', null, $product->ID );
  • inc/class-wcml-emails.php line 794
    apply_filters( 'wcml_email_language', $current_language, $order_id );
  • inc/class-wcml-emails.php line 544
    apply_filters( 'wcml_email_text_domain', 'woocommerce', $email );
  • classes/Email/Settings/TranslationControls.php line 57
    apply_filters( 'wcml_emails_options_to_translate', self::OPTION_NAMES );
  • classes/Email/Settings/TranslationControls.php line 60
    apply_filters( 'wcml_emails_section_name_prefix', 'wc_email_', $option );
  • classes/Email/Settings/TranslationControls.php line 63
    apply_filters( 'wcml_emails_section_name_to_translate', $sectionName );
  • classes/Email/Settings/TranslationControls.php line 146
    apply_filters( 'wcml_emails_text_keys_to_translate', self::EMAIL_TEXT_KEYS );
  • inc/class-wcml-endpoints.php line 339
    apply_filters( 'wcml_endpoint_keys_to_options', $this->endpointKeysToOptions );
  • classes/Endpoints/Settings/TranslationControls.php line 43
    apply_filters( 'wcml_endpoints_translation_controls', self::OPTION_NAMES );
  • inc/class-wcml-cart.php line 444
    apply_filters( 'wcml_exception_duplicate_products_in_cart', false, $cart_content );
  • inc/currencies/class-wcml-multi-currency.php line 352
    apply_filters( 'wcml_exchange_rates', $this->exchange_rates );
  • compatibility/FacebookForWc/MultilingualHooks.php line 35
    apply_filters( 'wcml_facebook_sync_products_languages', [] );
  • inc/class-wcml-cart.php line 531
    apply_filters( 'wcml_filter_cart_item_data', $cart_contents );
  • inc/currencies/class-wcml-multi-currency-prices.php line 602
    apply_filters( 'wcml_filter_currency_position', $currency_code );
  • inc/currencies/currency-switcher/class-wcml-currency-switcher-templates.php line 152
    apply_filters( 'wcml_force_currency_switcher_twig_template', false );
  • classes/EditorScopedSync/ForceUpdateEndpoint.php line 42
    do_action( 'wcml_force_full_product_sync_run', $productId, $product );
  • inc/class-wcml-resources.php line 243
    apply_filters( 'wcml_force_reset_cart_fragments', 0 );
  • classes/multi-currency/geolocation/Geolocation.php line 77
    apply_filters( 'wcml_geolocation_get_user_country', $userCountry, $allUserCountries );
  • inc/class-wcml-emails.php line 681
    apply_filters( 'wcml_get_admin_language_by_email', $language, $recipient, $order_id );
  • classes/OrderItems/Hooks.php line 83
    apply_filters( 'wcml_get_order_items_language', $language, $order );
  • inc/translation-editor/class-wcml-editor-ui-product-job.php line 512
    apply_filters( 'wcml_gui_additional_box_data', $element_data, $this->product_id, $translation, $this->get_target_language() );
  • inc/translation-editor/class-wcml-editor-ui-product-job.php line 301
    do_action( 'wcml_gui_additional_box_html', $this, $this->product_id, $this->data );
  • inc/class-wcml-cart.php line 195
    apply_filters( 'wcml_hide_cart_alert_dialog', false );
  • inc/currencies/class-wcml-multi-currency-resources.php line 54
    apply_filters( 'wcml_is_cache_enabled_for_switching_currency', $script_vars['cache_enabled'] );
  • inc/wcml-core-functions.php line 17
    apply_filters( 'wcml_is_importing', false );
  • inc/class-wcml-products.php line 106
    apply_filters( 'wcml_is_variable_product', $is_variable_product, $product_id );
  • inc/class-wcml-resources.php line 309
    apply_filters( 'wcml_js_lock_fields_classes', [] );
  • inc/class-wcml-resources.php line 308
    apply_filters( 'wcml_js_lock_fields_ids', [] );
  • inc/class-wcml-resources.php line 310
    apply_filters( 'wcml_js_lock_fields_input_names', [] );
  • inc/currencies/class-wcml-multi-currency.php line 157
    apply_filters( 'wcml_load_multi_currency', $load );
  • inc/currencies/class-wcml-multi-currency.php line 159
    apply_filters( 'wcml_load_multi_currency_in_ajax', $load );
  • wcml_loaded

    action
    classes/class-woocommerce-wpml.php line 82
    do_action( 'wcml_loaded' );
  • inc/translation-editor/class-wcml-synchronize-product-data.php line 390
    apply_filters( 'wcml_meta_value_before_add', $meta_value, $custom_filed_key );
  • inc/currencies/class-wcml-multi-currency.php line 136
    apply_filters( 'wcml_multi_currency_ajax_actions', [ 'woocommerce_get_refreshed_fragments', 'woocommerce_update_order_review', 'woocommerce_checkout', 'woocommerce_add_to_cart', 'woocommerce_update_shipping_method', 'woocommerce_json_search_products_and_variations', 'woocommerce_add_coupon_discount', ] );
  • classes/Multicurrency/Resolver/ResolverForModeLanguage.php line 32
    do_action( 'wcml_multi_currency_set_switching_currency_html', $preventSwitching['prevent_switching'] );
  • classes/AdminNotices/CachePlugins.php line 70
    apply_filters( 'wcml_multicurrency_supported_cache_plugins', [] );
  • inc/class-wcml-emails.php line 679
    apply_filters( 'wcml_new_order_admin_email_language', $language, $recipient, $order_id );
  • inc/class-wcml-orders.php line 316
    apply_filters( 'wcml_order_id_for_language', $orderId );
  • inc/translation-editor/class-wcml-synchronize-product-data.php line 247
    apply_filters( 'wcml_order_item_quantity', $qty, $order, $item );
  • classes/OrderItems/Shipping/Factory.php line 28
    apply_filters( 'wcml_order_item_shipping_method_translators', $orderItemShippingTranslators );
  • inc/wcml-core-functions.php line 37
    apply_filters( 'wcml_price_custom_fields', $filtered_keys, $object_id );
  • inc/wcml-core-functions.php line 35
    apply_filters( 'wcml_price_custom_fields_filtered', $default_keys, $object_id );
  • compatibility/WcProductAddons/SharedHooks.php line 44
    do_action( 'wcml_product_addons_global_updated', $metaId, $id, $metaKey, $addons );
  • inc/translation-editor/class-wcml-editor-ui-product-job.php line 876
    apply_filters( 'wcml_product_content_fields', $contents, $product_id );
  • inc/translation-editor/class-wcml-editor-ui-product-job.php line 835
    apply_filters( 'wcml_product_content_label', $field, $this->product_id );
  • inc/currencies/class-wcml-custom-prices.php line 170
    apply_filters( 'wcml_product_custom_prices', $custom_prices, $product_id, $currency );
  • inc/currencies/class-wcml-custom-prices.php line 640
    apply_filters( 'wcml_product_has_custom_prices', (bool) get_post_meta( $product_id, '_wcml_custom_prices_status', true ), $product_id );
  • classes/Synchronization/Hooks.php line 97
    apply_filters( 'wcml_product_synchronization_on_save_is_valid_context', $isValidContext );
  • inc/class-wcml-endpoints.php line 172
    apply_filters( 'wcml_register_endpoints_query_vars', $queryVars, $originalQueryVars, $this );
  • inc/template-classes/store-urls/class-wcml-store-urls-ui.php line 96
    apply_filters( 'wcml_register_endpoints_store_urls', WC()->query->query_vars );
  • inc/class-wcml-cart-removed-items-widget.php line 25
    do_action( 'wcml_removed_cart_items' );
  • inc/currencies/class-wcml-multi-currency-prices.php line 414
    apply_filters( 'wcml_rounded_price', $price, $currency );
  • inc/class-wcml-wc-strings.php line 135
    apply_filters( 'wcml_sanitize_name_for_translated_attribute_label', true, $name, $label );
  • inc/currencies/class-wcml-multi-currency-configuration.php line 89
    do_action( 'wcml_saved_mc_options', $_POST );
  • inc/class-wcml-emails.php line 783
    apply_filters( 'wcml_send_email_order_id', $order_id );
  • inc/currencies/class-wcml-multi-currency.php line 431
    do_action( 'wcml_set_client_currency', $currency );
  • inc/class-wcml-requests.php line 142
    do_action( 'wcml_settings_form_saved' );
  • classes/wcml-setup/class-wcml-setup.php line 201
    do_action( 'wcml_setup_completed' );
  • classes/Multicurrency/Shipping/FrontEndHooks.php line 33
    do_action( 'wcml_shipping_cost_in_mc', $wcShippingMethod );
  • inc/currencies/class-wcml-multi-currency-shipping.php line 103
    apply_filters( 'wcml_shipping_free_min_amount', $settings['min_amount'], $settings );
  • classes/OrderItems/Shipping/StoreInDefaultLanguage.php line 13
    apply_filters( 'wcml_should_save_adjusted_order_item_in_language', $forceSaveInDefaultLanguage, $item, $targetLanguage );
  • classes/OrderItems/Hooks.php line 42
    apply_filters( 'wcml_should_translate_order_items', $shouldTranslateOrderItems, $items, $order );
  • inc/class-wcml-wc-shipping.php line 137
    apply_filters( 'wcml_should_translate_shipping_method_title', ! is_admin() || $is_edit_order, $title, $shipping_id, $language );
  • classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php line 84
    apply_filters( 'wcml_supported_currency_payment_gateways', $this->supported_gateways );
  • inc/currencies/class-wcml-multi-currency.php line 464
    do_action( 'wcml_switch_currency', $currency, $from_currency );
  • inc/class-wcml-wc-shipping.php line 126
    apply_filters( 'wcml_translate_shipping_method_in_package', true, $key, $method );
  • inc/class-wcml-wc-strings.php line 130
    apply_filters( 'wcml_translated_attribute_label_product_id', $product_id, $label, $name, $product_obj );
  • inc/class-wcml-wc-shipping.php line 131
    apply_filters( 'wcml_translated_package_rates', $available_methods );
  • inc/class-wcml-cart.php line 394
    apply_filters( 'wcml_update_cart_contents_lang_switch', $cart->cart_contents, $key, $new_key, $current_language );
  • inc/translation-editor/class-wcml-editor-ui-product-job.php line 725
    do_action( 'wcml_update_extra_fields', $this->product_id, $tr_product_id, $translations, $this->get_target_language() );
  • classes/User/Store/Store.php line 36
    apply_filters( 'wcml_user_store_strategy', 'wc-session', $key );
  • inc/wcml-switch-lang-request.php line 37
    do_action( 'wcml_user_switch_language', $lang_from, $lang_to );
  • classes/Synchronization/Component/VariationSource.php line 51
    do_action( 'wcml_variation_source_not_readable', $productId, $variationIds );
  • classes/API/VendorAddon/Hooks.php line 20
    apply_filters( 'wcml_vendor_addon_configuration', null );
  • inc/class-wcml-store-pages.php line 539
    apply_filters( 'wcml_wc_installed_pages', [ 'woocommerce_shop_page_id', 'woocommerce_cart_page_id', 'woocommerce_checkout_page_id', 'woocommerce_myaccount_page_id', ] );
  • inc/class-wcml-tp-support.php line 221
    apply_filters( 'wcml_xliff_allowed_variations_types', [ 'variable' ] );
  • widget_title

    filter
    inc/currencies/currency-switcher/class-wcml-currency-switcher-widget.php line 19
    apply_filters( 'widget_title', $instance['settings']['widget_title'] );
  • compatibility/WcBookings/Calendar.php line 50
    apply_filters( 'woocommerce_booking_is_paid_statuses', [ 'confirmed', 'paid', 'complete' ] );
  • classes/multi-currency/payment-gateways/class-wcml-payment-gateway-paypal.php line 68
    apply_filters( 'woocommerce_paypal_supported_currencies', self::SUPPORTED_CURRENCIES );
  • inc/currencies/class-wcml-multi-currency-prices.php line 139
    apply_filters( 'woocommerce_price_filter_widget_step', self::WC_DEFAULT_STEP );
  • classes/Rest/Functions.php line 19
    apply_filters( 'woocommerce_rest_is_request_to_rest_api', self::checkEndpoint( 'wc/v' . self::getApiRequestVersion() . '/' ) || self::isWooCommerceAbilityRequest() );
  • inc/currencies/class-wcml-custom-prices.php line 403
    apply_filters( 'woocommerce_variation_is_visible', true, $variation_id, $product->get_id() );
  • inc/class-wcml-ajax-setup.php line 22
    do_action( 'wpml_add_language_form_field' );
  • inc/translation-editor/class-wcml-page-builders.php line 95
    do_action( 'wpml_add_string_translation', $string->id, $target_language, $translations[ md5( $string->name ) ], $this->sitepress->get_wp_api()->constant( 'ICL_TM_COMPLETE' ) );
  • inc/template-classes/currency-switcher/class-wcml-currency-switcher-template.php line 48
    do_action( 'wpml_currency_switcher_uses_twig_templates', $templateSetup['slug'] ?? '' );
  • inc/translation-editor/class-wcml-editor-ui-product-job.php line 210
    apply_filters( 'wpml_editor_custom_field_style', $cf_settings->get_editor_style(), 'field-' . $custom_field );
  • classes/urls/class-wcml-xdomain-data.php line 46
    apply_filters( 'wpml_get_cross_domain_language_data', [] );
  • inc/class-wcml-endpoints.php line 534
    apply_filters( 'wpml_get_endpoint_url', $current_endpoint['endpoint'], $current_endpoint['value'], $url );
  • inc/template-classes/status/class-wcml-status-config-warnings-ui.php line 77
    apply_filters( 'wpml_get_slug_translation_languages', [], 'product' );
  • inc/class-wcml-products.php line 542
    apply_filters( 'wpml_is_display_as_translated_post_type', false, 'product' );
  • classes/Rest/Wrapper/Orders/Languages.php line 75
    apply_filters( 'wpml_language_is_active', false, $data['lang'] );
  • addons/wpml-dependencies/lib/classes/notices/class-wpml-notice-render.php line 42
    apply_filters( 'wpml_notice_allowed_html', $allowed );
  • addons/wpml-dependencies/lib/classes/notices/class-wpml-notice.php line 194
    apply_filters( 'wpml_notice_text', $this->text, $notice );
  • addons/wpml-dependencies/lib/classes/wpml-wp/class-wpml-wp-roles.php line 86
    apply_filters( 'wpml_role_for_level_default', $default, $level );
  • wpml_setting

    filter
    inc/translation-editor/class-wcml-editor-ui-product-job.php line 140
    apply_filters( 'wpml_setting', '', 'translated_document_page_url' );
  • inc/class-wcml-emails.php line 364
    do_action( 'wpml_st_force_translate_admin_options', [ 'woocommerce_checkout_privacy_policy_text', 'woocommerce_email_footer_text', 'woocommerce_email_from_address', 'woocommerce_email_from_name', 'woocommerce_price_decimal_sep', 'woocommerce_price_thousand_sep', 'woocommerce_registration_privacy_policy_text', ] );
  • inc/translation-editor/class-wcml-page-builders.php line 12
    apply_filters( 'wpml_st_get_post_string_packages', false, $product_id );
  • classes/StringTranslation/RegisteredStringNames.php line 15
    apply_filters( 'wpml_st_registered_string_names', null, $domain, $namePrefix );
  • inc/class-wcml-endpoints.php line 273
    do_action( 'wpml_st_string_updated' );
  • inc/translation-editor/class-wcml-page-builders.php line 58
    apply_filters( 'wpml_string_title_from_id', false, $string->id );
  • classes/Importer/Products.php line 16
    do_action( 'wpml_sync_all_custom_fields', getId( $product ) );
  • classes/wcml-setup/class-wcml-setup.php line 203
    do_action( 'wpml_tea_recheck_scope', 'wcml_setup_completed' );
  • classes/API/VendorAddon/Hooks.php line 73
    do_action( 'wpml_tm_add_translation_role', $user, self::TRANSLATE_CAPABILITY );
  • classes/API/VendorAddon/Hooks.php line 72
    do_action( 'wpml_tm_ate_synchronize_translators' );
  • inc/translation-editor/class-wcml-editor-ui-product-job.php line 211
    apply_filters( 'wpml_tm_editor_string_style', $field_style, 'field-' . $custom_field . '-0', get_post( $this->product_id ) );
  • inc/class-wcml-products.php line 378
    apply_filters( 'wpml_translation_status', null, $product->trid, $language );
  • addons/wpml-dependencies/lib/classes/notices/class-wpml-notices.php line 214
    do_action( 'wpml-notices-scripts-enqueued' );

Generated from WPML Multilingual & Multicurrency for WooCommerce'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: