No hooks match your search.
Site-Wide Language Information (31 hooks)
-
Filter
Decode fields that are in a format that WPML does not understand.wpml_decode_ custom_ field -
Action
Display WPML's horizontal language switcher.wpml_footer_ language_ selector -
Action
Make a custom search form multilingual-ready.wpml_add_ language_ form_ field -
Filter
Allows you to exclude the language switcher from menu.wpml_ls_ exclude_ in_ menu -
Filter
Find out whether the current language text direction is RTL or not.wpml_is_ rtl -
Get the URL to be filtered and the corresponding language code.wpml_alternate_ hreflang -
Get a list of languages as input.wpml_head_ langs -
Block WPML from translating the canonical URL.wpml_must_ translate_ canonical_ url -
Filter
Filters the $params argument which is an associative array that contains information about the current language.wpml_browser_ redirect_ language_ params -
Filter
Turn off, on one page, showing returning visitors the language they picked.wpml_redirect_ to_ chosen_ language -
Filter
Get a list of the languages enabled for a site.wpml_active_ languages -
Filter
Encode fields that are in a format that WPML does not understand.wpml_encode_ custom_ field -
Action
Run additional logic after WPML has executed the default one or if the value of $params is customized.wpml_enqueued_ browser_ redirect_ language -
Filter
Use a custom JavaScript for handling the browser redirection.wpml_enqueue_ browser_ redirect_ language -
Action
Display WPML's language switcher.wpml_language_ switcher -
Filter
Get the element translations info using “trid” (the ID of the translation group).wpml_get_ element_ translations -
Filter
Get “trid” (the ID of the translation group) of a translated element.wpml_element_ trid -
Action
Run actions when switching the global current language in WordPress queries.wpml_language_ has_ switched -
Action
Display WPML's drop-down language switcher.wpml_add_ language_ selector -
Filter
Get a language's native and translated name for display in a custom language switcher.wpml_display_ language_ names -
Filter
Control the eligibility for automatic translation on a per-string package basis.wpml_auto_ translate_ string_ package -
Filter
This filter allows declaring an active string package kind.wpml_active_ string_ package_ kinds -
Filter
Find out if a specific language is enabled for the site.wpml_language_ is_ active -
Action
This action should be fired when the string package registration is completed.wpml_delete_ unused_ package_ strings -
Action
This action hook should be fired before starting the string package registration.wpml_start_ string_ package_ registration -
Filter
Get a language's translated name in another language which you specify.wpml_translated_ language_ name -
Filter
Get the current display language.wpml_current_ language -
Filter
Get the default language enabled for a site.wpml_default_ language -
Filter
Returns the ID of the original element when given the element's ID and type.wpml_original_ element_ id -
Action
Run actions when updating the active languages of the site.wpml_update_ active_ languages -
Filter
Read which URL code each language of the site uses.wpml_language_ codes_ map
Retrieving Language Information for Content (6 hooks)
-
Filter
Get the language of a post.wpml_post_ language_ details -
Action
Allows you to switch email language to user's preferred language.wpml_switch_ language_ for_ email -
Action
Restore the language that was active before calling wpml_switch_language_for_email.wpml_restore_ language_ from_ email -
Action
Control language in WordPress queries.wpml_switch_ language -
Filter
Get the language code for a translatable element.wpml_element_ language_ code -
Filter
Get the trid, language code and source language code for a translatable element.wpml_element_ language_ details
Retrieving Localized Content (13 hooks)
-
Filter
Convert the media URL to a specific target language or the current language.wpml_media_ url -
Filter
Convert a media ID to the current language or a specified target language.wpml_media_ id -
Action
Override WPML's default language filter for attachments to get all attachments at once.force_suppress_ filters -
Filter
Get the post type slug translation in a specific language.wpml_get_ translated_ slug -
Filter
Get a site's home url for the current language.wpml_home_ url -
Filter
Retrieve a string translation.wpml_translate_ single_ string -
Filter
Retrieve a "package" string translation.wpml_translate_ string -
Filter
Retrieve untranslated elements.wpml_elements_ without_ translations -
Filter
Add language information to WordPress permalinks.wpml_permalink -
Filter
Retrieve an option value by-passing WPML ST filters.wpml_unfiltered_ admin_ string -
Filter
Get the url for a post type or taxonomy term for the current language.wpml_element_ link -
Filter
Get the ID in the current language or in another language you specify.wpml_object_ id -
Filter
Get a page address of this site in a language, and keep other URLs as they are.wpml_site_ url_ in_ language
Finding the Translation State of Content (6 hooks)
-
Filter
Find out whether a post type or taxonomy term has been translated or duplicated.wpml_element_ translation_ type -
Filter
Check whether a post type is set to be translatable.wpml_is_ translated_ post_ type -
Filter
Check whether a taxonomy is set to be translatable.wpml_is_ translated_ taxonomy -
Filter
Get the original post from its duplicated post.wpml_master_ post_ from_ duplicate -
Filter
Get the duplicated posts of another post you specify.wpml_post_ duplicates -
Filter
Find out whether a post type or a taxonomy term is translated.wpml_element_ has_ translations
Inserting Content (11 hooks)
-
Action
Set or update an element's language information.wpml_set_ element_ language_ details -
Action
Create duplicate posts programatically.wpml_make_ post_ duplicates -
Action
Create or update duplicate posts programatically.wpml_admin_ make_ post_ duplicates -
Filter
Duplicate a post to another language.wpml_copy_ post_ to_ language -
Action
Deletes a string translation package.wpml_delete_ package -
Filter
Enables imported translations to be connected to existing originals by retrieving the translation record ID.wpml_import_ get_ trid_ from_ imported_ translations -
Action
Register dynamic texts for translation.wpml_register_ string -
Action
Register user input texts for translation.wpml_register_ single_ string -
Action
Display a language information box in the admin UI for content.wpml_show_ package_ language_ ui -
Action
Deletes a string translation package.wpml_delete_ package_ action -
Filter
Choose the language of a post that WPML saves for the first time.wpml_new_ post_ language
Miscellaneous (36 hooks)
-
Filter
Filters the displayed languages of the language switcher.icl_ls_ languages -
Filter
Filters the post meta values before they are copied to the translation.wpml_sync_ custom_ field_ copied_ value -
Filter
Updates the language switcher links when a theme or plugin refreshes the page with AJAX.wpml_ls_ enable_ ajax_ navigation -
Filter
Get the WPML element type name for a post type or taxonomy term as saved in the database.wpml_element_ type -
Filter
Get the value of a WPML setting.wpml_setting -
Filter
Get the value of a WPML sub setting.wpml_sub_ setting -
Filter
Exclude post IDs from Automatic Translation.wpml_exclude_ post_ from_ auto_ translate -
Filter
Leave some string packages out of Translate Everything.wpml_exclude_ packages_ from_ auto_ translate -
Filter
Filters the Ninja Forms WPML configuration array.wpml_forms_ config_ ninja-forms -
Filter
Filters the WPForms WPML configuration array.wpml_forms_ config_ wpforms -
Action
Display WPML's translation feedback link.wpml_tf_ feedback_ open_ link -
Filter
Make certain user meta fields translatable through WPML String Translation.wpml_translatable_ user_ meta_ fields -
Filter
Retrieve the data passed among language domains.wpml_get_ cross_ domain_ language_ data -
Filter
Pass data among language domains.wpml_cross_ domain_ language_ data -
Action
Run actions after WPML is fully configured and loaded.wpml_loaded -
Action
Run actions after WPML String Translation is fully configured and loaded.wpml_st_ loaded -
Action
Run actions after WPML Translation Management is fully configured and loaded.wpml_tm_ loaded -
Filter
Allow hiding the translation management column based on post types.wpml_hide_ management_ column -
Filter
Add directories containing language switcher templates.wpml_ls_ directories_ to_ scan -
Filter
Filter CSS classes for each item in a language switcher.wpml_ls_ model_ language_ css_ classes -
Filter
Filter CSS classes for language switcher wrappers. These wrappers are not available for language switchers in menus.wpml_ls_ model_ css_ classes -
Filter
Filter post data upon duplication before saving.wpml_duplicate_ generic_ string -
Action
Sync custom field value across all translations of a given post.wpml_sync_ custom_ field -
Action
Sync values of all custom fields across all translations of a given post.wpml_sync_ all_ custom_ fields -
Filter
Disable WPML canonical URL redirection.wpml_is_ redirected -
Filter
Filter translated custom field values before XLIFF export.wpml_tm_ xliff_ export_ translated_ cf -
Filter
This filter defines where to place the WPML post edit meta box.wpml_post_ edit_ meta_ box_ context -
Filter
Filter custom fields before saving in WPML's translation editor or XLIFF import.wpml_tm_ save_ translation_ cf -
Filter
Filter original custom field values before XLIFF export.wpml_tm_ xliff_ export_ original_ cf -
Filter
Filter custom fields displayed in WPML's translation editor.wpml_editor_ cf_ to_ display -
Filter
Enable or disable emails sent by WPML.wpml_mail_ enabled -
Filter
Choose whether a language switcher with a missing or failing template shows WPML's default template.wpml_ls_ fallback_ to_ core_ template -
Filter
Make a page builder's editor screen work in the language of the post it edits.wpml_post_ edit_ screen_ actions -
Filter
Choose whether MailChimp Multilingual sends the subscriber language to Mailchimp.wpml_mailchimp_ should_ set_ subscriber_ language -
Filter
Protect the placeholders of a field from changes in translation.wpml_tm_ xliff_ unit_ placeholders -
Filter
Protect the placeholders of page builder texts from changes in translation.wpml_pb_ string_ placeholder_ patterns