All hooks listed in this API are available for WPML Multilingual & Multicurrency for WooCommerce (WCML) versions >= 3.5
No items match your search. Clear the search box or choose a different filter.
Multi-currency Feature
wcml_custom_prices_fields_labelsfilter – Add custom price field labels to productswcml_is_cache_enabled_for_switching_currencyfilter – Add the currency code to the URLwcml_geolocation_get_user_countryfilter – Allow the overriding of the WCML geolocated country.wcml_user_store_strategyfilter – Allows overriding the storage strategy. The default storage is wc-session, and the only current alternative is cookie.wcml_rounded_pricefilter – Filter second currency prices after applying rounding ruleswcml_currencies_without_centsfilter – Filter the array of currencies without centswcml_product_custom_pricesfilter – Filter custom prices set for productswcml_custom_prices_stringsfilter – Modify strings used in the section for setting the prices in other currencies manuallywcml_switch_currencyaction – Run actions after the client currency for the front end is switched via AJAX requests.wcml_custom_prices_fieldsfilter – Add additional custom price fields to productswcml_multi_currency_ajax_actionsfilter – Add or remove the AJAX actions that need our multi-currency filterswcml_load_multi_currency_in_ajaxfilter – Define whether or not the multi-currency filters for AJAX actions are loadedwcml_update_custom_prices_valuesfilter – Filter the custom prices for the second currency before saving themwcml_client_currencyfilter – Filter the currency set by the user on the front-endwcml_exchange_ratesfilter – Filter the exchange rates used by WooCommerce Multilingualwcml_formatted_pricefilter – Convert a default currency price to the selected currency, using the correct format.wcml_price_currencyfilter – Get the current currency on the front endwcml_set_client_currencyaction – Run actions after the client currency for the front-end is set.wcml_after_custom_prices_blockaction – Run actions after generating the custom price block on the WooCommerce native product editor.wcml_before_multi_currency_uiaction – Run actions before generating the Multi-currency tab in the WPML -> Woocommerce Multilingual screen.wcml_after_save_custom_pricesaction – Run actions after saving custom prices on the WooCommerce native product editor.wcml_raw_price_amountfilter – Convert the raw price in the default currency into the selected currencywcml_currency_switcheraction – Run actions when the currency switcher widget is being generated.wcml_product_price_by_currencyfilter – Get the product price in selected currency.
Inserting Content
wcml_after_duplicate_productaction – Run actions after duplicating a product.wcml_product_content_fieldsfilter – Add or remove custom fields in the WCML Translation Editorwcml_product_content_label– Modify custom field names in the WCML Translation Editor
Miscellaneous
wcml_new_order_admin_email_languagefilter – Set admin email languagetranslate_shipping_methods_in_packagefilter – Can be used for shipping methods translationswcml_gui_additional_box_htmlaction – Add additional fields to translate in WCML Translation Editor.wcml_current_gateway_languagefilter – Filter language for Gateway strings ( title, description, instructions )wcml_variation_term_taxonomy_idsfilter – Filter the IDs of variation's taxonomies that a term belongs towcml_is_attributes_pagefilter – Add filters to check if the current product page is an attribute pagewcml_is_variable_productfilter – Add filters to check if a product is variablewcml_gui_additional_box_datafilter – Add translation data for fields in custom sections of WCML Translation Editorwcml_after_load_lock_fields_jsaction – Run actions after loading the JavaScript code for locking fields on the translated product editor pagewcml_wc_installed_pagesfilter – Add or remove the WooCommerce page option names used in WooCommerce Multilingualwcml_not_display_single_fields_to_translatefilter – Add or remove the custom fields that do not display in the WCML Translation Editorwcml_localize_woocommerce_on_ajaxaction – Run actions during WPML AJAX requests.
Updating Content
wcml_after_duplicate_product_post_metaaction – Run actions after the post meta fields are being set for a duplicated product.wcml_update_extra_fieldsaction – Run actions after the translated product fields are updated.wcml_js_lock_fields_idsfilter – Add or remove custom field IDs that are locked on the WooCommerce native product editor of translated productswcml_js_lock_fields_input_namesfilter – Add or remove custom field input names that are locked on the WooCommerce native product editor of translated productswcml_js_lock_fields_classesfilter – Add or remove custom field classes that are locked on the WooCommerce native product editor of translated productswcml_before_sync_productaction – Run actions before WCML syncs original products to their translated products.wcml_before_sync_product_dataaction – Run actions before WCML syncs data (images, taxonomies, variations, etc) from original products to their translations.
Orders
wcml_should_translate_order_itemsfilter – Allows the ability to override translating order items.wcml_should_save_adjusted_order_item_in_languagefilter – Allows overriding of adjusted order itemwcml_get_order_items_languagefilter – Allows overriding which item language to filter.
Shipping
wcml_should_translate_shipping_method_titlefilter – Allows overriding the translated shipping method title.