{"version":1,"pages":[{"id":"-LBR06T_1PsLFK4twDlO","title":"Developer Documentation","pathname":"/","siteSpaceId":"sitesp_ka3K8","description":""},{"id":"-LqKdrsTkSKv3teiUuMF","title":"Getting Started","pathname":"/wordpress/getting-started","siteSpaceId":"sitesp_ka3K8","description":"Starting with the Weglot WordPress plugin","breadcrumbs":[{"label":"WordPress"}]},{"id":"-LqKer3ZKeL03LahziDV","title":"Helpers Functions","pathname":"/wordpress/helpers-functions","siteSpaceId":"sitesp_ka3K8","description":"All Weglot functions you can call in WordPress to get informations","breadcrumbs":[{"label":"WordPress"}]},{"id":"-LqKgrDcyaVhw3aalvJx","title":"Hooks","pathname":"/wordpress/filters","siteSpaceId":"sitesp_ka3K8","description":"All filters exposed by Weglot","breadcrumbs":[{"label":"WordPress"}]},{"id":"-LqKhH4YHqpB8I123eXf","title":"Translations Hooks","pathname":"/wordpress/filters/translations-filters","siteSpaceId":"sitesp_ka3K8","description":"WordPress Filters relating to detecting & translating words","breadcrumbs":[{"label":"WordPress"},{"label":"Hooks"}]},{"id":"-LqL7NPOVF0v-TVphubm","title":"Other Hooks","pathname":"/wordpress/filters/other-filters","siteSpaceId":"sitesp_ka3K8","description":"Auto-generated filters. Contains all the filter in Weglot's plugin code","breadcrumbs":[{"label":"WordPress"},{"label":"Hooks"}]},{"id":"-LqKlty0Nrgpgf968nKy","title":"Use cases","pathname":"/wordpress/use-cases","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"WordPress"}]},{"id":"GZIrOZuVO7SpP01CScCP","title":"Lang attribute","pathname":"/wordpress/use-cases/lang-attribute","siteSpaceId":"sitesp_ka3K8","description":"Modify the lang attribute on html tag","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"m4ntObB50VRPtQIz5qLW","title":"Translate link","pathname":"/wordpress/use-cases/translate-link","siteSpaceId":"sitesp_ka3K8","description":"Add method to translate specifix link","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"NnrE6JnD5gIb7gZ4jVd0","title":"Implementing Custom Link Translation","pathname":"/wordpress/use-cases/implementing-custom-link-translation","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"BasGr0BSmxlOgwYWkC7q","title":"Wp-rocket Lazyload","pathname":"/wordpress/use-cases/wp-rocket-lazyload","siteSpaceId":"sitesp_ka3K8","description":"Modify attr when Lazyloading is activate on wp-rocket plugins","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"9e9PiE5K4Yb8En5j8f7w","title":"Deactivate Weglot on Elementor","pathname":"/wordpress/use-cases/deactivate-weglot-on-elementor","siteSpaceId":"sitesp_ka3K8","description":"Deactivate Weglot (translate and add swtcher(s)) when you're on elementor webview","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"6u01akt3Ro56x3ypxOIg","title":"Weglot translate on Elementor","pathname":"/wordpress/use-cases/weglot-translate-on-elementor","siteSpaceId":"sitesp_ka3K8","description":"With this code, we force translation of content generate by elementor using the elementor/frontend/the_content filter","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"-LqKlws--XOwgWYUZbRi","title":"Language Selector Styling","pathname":"/wordpress/use-cases/language-selector-styling","siteSpaceId":"sitesp_ka3K8","description":"Adding your own CSS code or HTML button","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"-LqL8aWCM6DxbV693mwc","title":"Change flag size","pathname":"/wordpress/use-cases/change-flag-size","siteSpaceId":"sitesp_ka3K8","description":"Changing the Weglot flag size with CSS","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"-LqKm260CAqD4GoDU0m9","title":"Exclude a Custom Post Type","pathname":"/wordpress/use-cases/exclude-a-custom-post-type","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"-LvLDJOsYKpYKJCVV0e1","title":"Exclude the search page","pathname":"/wordpress/use-cases/exclude-the-search-page-from-translations","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"Li7qKWP1Rm9wZx14Ld9Y","title":"Exclude draft or private status post","pathname":"/wordpress/use-cases/exclude-the-search-page-from-translations-1","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"-M71nOS2v0sq-dvaKo3D","title":"Plugin Woocommerce: Translate all email sent to customers","pathname":"/wordpress/use-cases/translation-of-woocommerce-emails-sent-to-customers","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"-LqL9Up5y80uwvKPn246","title":"Plugin WooCommerce: Translate Product URLs","pathname":"/wordpress/use-cases/translate-woocommerce-product-urls","siteSpaceId":"sitesp_ka3K8","description":"By default, Weglot doesn't allow you to translate product URL, you can do it following this","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"-LyFPh0vpIaLvUSiEZu2","title":"Use custom language code (URL, lang and hreflang attribute)","pathname":"/wordpress/use-cases/use-custom-language-code-url-lang-and-hreflang-attribute","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"-Ly3ryI0bVvYiR8zRy14","title":"Theme OceanWP: Use language selector in the main menu","pathname":"/wordpress/use-cases/theme-oceanwp-use-language-selector-in-the-main-menu","siteSpaceId":"sitesp_ka3K8","description":"How to fix the language selector in mobile menu of OceanWP theme","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"-Ly3tA6QU00n66ROzgyE","title":"Theme Avada: Use language selector in the main menu","pathname":"/wordpress/use-cases/theme-avada-use-language-selector-in-the-main-menu","siteSpaceId":"sitesp_ka3K8","description":"How to fix the language selector in mobile menu of Avada theme","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"-MdGrSVIDfLaXCLuQmAJ","title":"LinkedIn Share Post: Translate oEmbed WP URL","pathname":"/wordpress/use-cases/linkedin-share-post-translate-oembed-wp-url","siteSpaceId":"sitesp_ka3K8","description":"Use filter to translate oEmbed WP URL","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"LVWg8ItDqSu9LCLMFPrI","title":"Hide button on excluded page","pathname":"/wordpress/use-cases/hide-button-on-excluded-page","siteSpaceId":"sitesp_ka3K8","description":"Since the version 3.5 of Weglot plugin, the button is visible even is the page is excluded. Here is how to hide it on excluded page","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"egWICwbsDcmmvMNeUbjS","title":"Auto switch only for HomePage","pathname":"/wordpress/use-cases/auto-switch-only-for-homepage","siteSpaceId":"sitesp_ka3K8","description":"Since the version 3.5 of Weglot plugin, the auto redirection feature works on all pages. Here is how to restrict it to the homepage only","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"wMarwzEt4m1gZjoI6VkY","title":"Proxify Url","pathname":"/wordpress/use-cases/proxify-url","siteSpaceId":"sitesp_ka3K8","description":"Since the version 4.2 of Weglot plugin, you have a filter to proxify an url","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"LrxFmJBhqGNY7QYZHojc","title":"Translate pdf for Woocommerce pdf invoice","pathname":"/wordpress/use-cases/translate-pdf-for-woocommerce-pdf-invoice","siteSpaceId":"sitesp_ka3K8","description":"Since the version 3.7 of Weglot plugin, you can translate pdf generate by WooCommerce PDF Invoices & Packing Slips plugin","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"zBp59JYww6vD6bGOqLBU","title":"Translate pdf with Gravity pdf","pathname":"/wordpress/use-cases/translate-pdf-with-gravity-pdf","siteSpaceId":"sitesp_ka3K8","description":"Since the version 3.7 of Weglot plugin, you can translate pdf generate by Gravity PDF.","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"9Ydg8mi7WiIVQWBzUscB","title":"Translate Dublin core meta (or other meta)","pathname":"/wordpress/use-cases/translate-dublin-core-meta-or-other-meta","siteSpaceId":"sitesp_ka3K8","description":"Dublin Core is a collection of meta tags to describe your content.These tags are automatically generated. Recognised by states/governments, these are used by directories, Bing, Baidu and Yandex.","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"unzUD7mYDjLQPdDWw4xt","title":"How to not translate specific ajax action","pathname":"/wordpress/use-cases/how-to-not-translate-specific-ajax-action","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"J7cjeb19Rrrtl8qCzA14","title":"How to get translated url programmatically","pathname":"/wordpress/use-cases/how-to-get-translated-url-programmatically","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"8d6VedPo3KMD92cA4RvV","title":"How to set WP locale based on Weglot current language","pathname":"/wordpress/use-cases/how-to-set-wp-locale-based-on-weglot-current-language","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"LoFneSHyCSvEVO7cZSVD","title":"How to translate mail from Photo Reviews for WooCommerce","pathname":"/wordpress/use-cases/how-to-translate-mail-from-photo-reviews-for-woocommerce","siteSpaceId":"sitesp_ka3K8","description":"Works since version 1.2.7 of Photo Reviews for WooCommerce","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"MbT3IpsQYuSvU8tsG4pX","title":"How to translate schema from schema.org generate by Yoast plugin","pathname":"/wordpress/use-cases/how-to-translate-schema-from-schema.org-generate-by-yoast-plugin","siteSpaceId":"sitesp_ka3K8","description":"On this example we use a filter to translate some entry from our schema based on this doc : https://developer.yoast.com/features/schema/api/","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"1X9UPzWIqFvYifcWjSo8","title":"How to translate email sending by plugin WP Mail SMTP","pathname":"/wordpress/use-cases/how-to-translate-email-sending-by-plugin-wp-mail-smtp","siteSpaceId":"sitesp_ka3K8","description":"On this example we use a filter to translate our email message based on this doc : https://wpmailsmtp.com/docs/setting-a-custom-reply-to-email/","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"mmLPAQ4sX11s8uYkpLBB","title":"How to hide the Weglot admin button for non administrator roles","pathname":"/wordpress/use-cases/how-to-hide-the-weglot-admin-button-for-non-administrator-roles","siteSpaceId":"sitesp_ka3K8","description":"In this example, we hide the Weglot button in the top navigation for users without the role of administrator","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"oWiyGrDxp30n4wlaTLXW","title":"Exemple of snippet to translate search from JetSearch plugin","pathname":"/wordpress/use-cases/exemple-of-snippet-to-translate-search-from-jetsearch-plugin","siteSpaceId":"sitesp_ka3K8","description":"In this example, we use custom code to translate the search result provide by the plugin jetSearch","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"DmfnTDaQ2YBxrFE4rwDS","title":"Example of snippet to translate your checkout element (override/added by the Funnel Builder plugin)","pathname":"/wordpress/use-cases/example-of-snippet-to-translate-your-checkout-element-override-added-by-the-funnel-builder-plugin","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"U7fnYlsB0YlKrAt6vHqd","title":"LScache","pathname":"/wordpress/use-cases/lscache","siteSpaceId":"sitesp_ka3K8","description":"Compatibility issue with LScache","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"I9iZ0sRgGgUzOyiF2fKE","title":"How to fix live builder issue with Weglot","pathname":"/wordpress/use-cases/how-to-fix-live-builder-issue-with-weglot","siteSpaceId":"sitesp_ka3K8","description":"Compatibility issue with live theme builder","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"iqxBpCjM2Eq99z5fN0zN","title":"Add translated url to Rankmath sitemap index","pathname":"/wordpress/use-cases/add-translated-url-to-rankmath-sitemap-index","siteSpaceId":"sitesp_ka3K8","description":"First step, add this snippet to be sure to purge the sitemap caching","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"BpCw53tzckfTkA6sow7o","title":"Advanced Woo Search X Weglot","pathname":"/wordpress/use-cases/advanced-woo-search-x-weglot","siteSpaceId":"sitesp_ka3K8","description":"Advanced Woo Search (aws) is a plugin to make advance search with WooCommerce. You can find the plugin here : https://wordpress.org/plugins/advanced-woo-search/","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"wGcrKPOVtNFfr7lXilxw","title":"Conditionally Disabling Weglot Translation for Specific URLs","pathname":"/wordpress/use-cases/conditionally-disabling-weglot-translation-for-specific-urls","siteSpaceId":"sitesp_ka3K8","description":"When using Weglot on your website, you might occasionally encounter issues where its translation processes interfere with certain functionalities, like generating PDFs or handling custom endpoints. In","breadcrumbs":[{"label":"WordPress"},{"label":"Use cases"}]},{"id":"LiOrbFYiaZ8ASSYYdUmQ","title":"Weglot filters","pathname":"/wordpress/helpers-functions-1","siteSpaceId":"sitesp_ka3K8","description":"All Weglot filters you can call to modify translations","breadcrumbs":[{"label":"WordPress"}]},{"id":"VuULCxQWX6t7GTEKm6kH","title":"weglot_translate_email","pathname":"/wordpress/helpers-functions-1/weglot_translate_email","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to prevent weglot translate email even if the option is checks on your options.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"Qz3eAZrv2hyfkV8NNUQV","title":"weglot_cancel_init","pathname":"/wordpress/helpers-functions-1/weglot_cancel_init","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to prevent weglot to be load.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"SjI1yC61v9BuWNhcZltV","title":"weglot_translate_email_languages_forced","pathname":"/wordpress/helpers-functions-1/weglot_translate_email_languages_forced","siteSpaceId":"sitesp_ka3K8","description":"Weglot prevent to translate emails that are fro admins. But you can force it by adding this filter.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"EgNB559u6OeKyMfjDxSt","title":"weglot_menu_parent_item_title","pathname":"/wordpress/helpers-functions-1/weglot_menu_parent_item_title","siteSpaceId":"sitesp_ka3K8","description":"Weglot allow to add the switcher from the Wordpress menu admin. with this filter you can programmatically change the title to display on your switcher.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"vmkyrpiI1Q4IReZYRbV9","title":"weglot_active_current_menu_item","pathname":"/wordpress/helpers-functions-1/weglot_active_current_menu_item","siteSpaceId":"sitesp_ka3K8","description":"With this filter you can manage if you want to add the current-item-menu class into your switcher element (menu version).","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"h4ZAj7I1CiUnM8imacik","title":"weglot_ajax_no_translate","pathname":"/wordpress/helpers-functions-1/weglot_ajax_no_translate","siteSpaceId":"sitesp_ka3K8","description":"This filter help you prevent Weglot to translate some ajax action. Here the list of action we don't translate :","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"dzxyJVRlQqG42VVLoWZ4","title":"weglot_active_translation_before_process","pathname":"/wordpress/helpers-functions-1/weglot_active_translation_before_process","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to interrupt translation process before Weglot check redirection needed.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"44YDcLO5Ub7LgBh5D7U8","title":"weglot_active_translation_before_treat_page","pathname":"/wordpress/helpers-functions-1/weglot_active_translation_before_treat_page","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to interrupt translation process after Weglot have check redirection needed.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"nv05s0Eyug2yA2oMCPaC","title":"weglot_debug_file","pathname":"/wordpress/helpers-functions-1/weglot_debug_file","siteSpaceId":"sitesp_ka3K8","description":"In the Weglot plugin you can active a debug mode.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"INmwWAyuEjkM9Q5ZCWRx","title":"weglot_autoredirect_only_home","pathname":"/wordpress/helpers-functions-1/weglot_autoredirect_only_home","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to restrict autoredirect to the homepage only.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"Tc5DXY5KrobUqBv9OQjq","title":"weglot_autoredirect_skip","pathname":"/wordpress/helpers-functions-1/weglot_autoredirect_skip","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to deactivate the autoswitch feature even if the option is activate.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"oFlPIDn7909ckYI6jbTv","title":"weglot_remove_google_translate","pathname":"/wordpress/helpers-functions-1/weglot_remove_google_translate","siteSpaceId":"sitesp_ka3K8","description":"By default, Weglot prevent google translating page but with this flter you can enable this google feature","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"ocPUPKPfEtjUfTSW3Xi0","title":"weglot_add_hreflang","pathname":"/wordpress/helpers-functions-1/weglot_add_hreflang","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to prevent Weglot add hreflangs if you want to add yours","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"FjZkBe4Q392bOzpIr0HA","title":"weglot_get_replace_modify_link","pathname":"/wordpress/helpers-functions-1/weglot_get_replace_modify_link","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to add pattern to define kind of link you want to translate.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"93dha1jIubdIjnnfnzWq","title":"get_replace_modify_link_in_xml","pathname":"/wordpress/helpers-functions-1/get_replace_modify_link_in_xml","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to add pattern to define kind of link you want to translate in xml.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"DCnbStyL3Z19h8i85VsV","title":"weglot_get_flag_class","pathname":"/wordpress/helpers-functions-1/weglot_get_flag_class","siteSpaceId":"sitesp_ka3K8","description":"This filter allow to add or remove class use to display flag on switcher","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"uzdh66gfrifcor4blz06","title":"weglot_get_name_with_language_entry","pathname":"/wordpress/helpers-functions-1/weglot_get_name_with_language_entry","siteSpaceId":"sitesp_ka3K8","description":"With this filter you can modifiy the name of language we diplay on switcher for each languages","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"GNsVHtL1NLQi8hOCTyCh","title":"weglot_get_class_dropdown","pathname":"/wordpress/helpers-functions-1/weglot_get_class_dropdown","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to modify list of class use to display our switcher dropdown.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"TSLei7DChPwi2iw2rUnO","title":"weglot_button_html","pathname":"/wordpress/helpers-functions-1/weglot_button_html","siteSpaceId":"sitesp_ka3K8","description":"this filter allows you yo get the html generate for our switcher and modify it.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"qlanFqSHFMdwilUpvMgq","title":"weglot_get_dom_checkers","pathname":"/wordpress/helpers-functions-1/weglot_get_dom_checkers","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to add rule to our dom checker. You can add rule to telle Weglot what kind of node need to be translate.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"LgXNGHbDvViXz85e8N6u","title":"weglot_replace_div_id","pathname":"/wordpress/helpers-functions-1/weglot_replace_div_id","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to get the translated content after we have replace the <div id=\"weglot_here\"></div> with the switcher","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"6phWqKvfTmyP8nOgAvXw","title":"weglot_replace_weglot_menu","pathname":"/wordpress/helpers-functions-1/weglot_replace_weglot_menu","siteSpaceId":"sitesp_ka3K8","description":"This filter allow to modify the content before we add the switcher(s)","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"Za1FFP0neecgcXKqhtCm","title":"weglot_render_default_button","pathname":"/wordpress/helpers-functions-1/weglot_render_default_button","siteSpaceId":"sitesp_ka3K8","description":"This filter allows you to modifiy the content after the default switcher is added","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"jQ3ngbgVTskTKGDD6jps","title":"weglot_render_switcher_editor_button","pathname":"/wordpress/helpers-functions-1/weglot_render_switcher_editor_button","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to modifiy the translated content after the custom switcher is added.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"FRxOxGSN9zkdPqvGIOYd","title":"weglot_href_lang","pathname":"/wordpress/helpers-functions-1/weglot_href_lang","siteSpaceId":"sitesp_ka3K8","description":"With this filter you can modifiy hreflangs generate by Weglot before we add them.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"BHM5GyWne7w55UKzIwK4","title":"weglot_get_options_from_cdn_cache","pathname":"/wordpress/helpers-functions-1/weglot_get_options_from_cdn_cache","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to prevent to load Weglot settings from transient.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"sYvQPcqwX2nSlx2B55Er","title":"weglot_get_options_from_cdn_cache_duration","pathname":"/wordpress/helpers-functions-1/weglot_get_options_from_cdn_cache_duration","siteSpaceId":"sitesp_ka3K8","description":"With this filter you can modifiy the duration of cache where we save Weglot settings. By default we fix it to 300 seconds","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"feQx3GlEudqpF0DPizJ0","title":"weglot_get_slugs_from_cache","pathname":"/wordpress/helpers-functions-1/weglot_get_slugs_from_cache","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to get your slug directly from the API instead of getting them from transient. Be carefull using this filter.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"xTypNPVs48XBEFC9oOje","title":"weglot_get_slugs_cache_duration","pathname":"/wordpress/helpers-functions-1/weglot_get_slugs_cache_duration","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to change the duration of cache we store the slugs. By default is setting to 0.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"IqnadBFjj7FmEZRUIoWw","title":"weglot_exclude_blocks","pathname":"/wordpress/helpers-functions-1/weglot_exclude_blocks","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to modifiy the array of exclude blocks.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"CLmu1CVoDsvH66SnSLST","title":"weglot_exclude_urls","pathname":"/wordpress/helpers-functions-1/weglot_exclude_urls","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to modifiy the list of your excluded url.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"yFLmaEYqF2dBdWtKILQZ","title":"weglot_get_parser_ignored_nodes","pathname":"/wordpress/helpers-functions-1/weglot_get_parser_ignored_nodes","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to modify the list of node ignored by Weglot.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"aCQDwFJIOB4hPbVv7sQe","title":"weglot_navigator_language","pathname":"/wordpress/helpers-functions-1/weglot_navigator_language","siteSpaceId":"sitesp_ka3K8","description":"With this filter you can modifiy the browser language(s) detect by Weglot.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"ufvOkBaBmF18QKREgcp5","title":"weglot_url_auto_redirect","pathname":"/wordpress/helpers-functions-1/weglot_url_auto_redirect","siteSpaceId":"sitesp_ka3K8","description":"This filter can be use to modify the url where use will be redirect if the autoswitch option is activate.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"8GRZAJvpLqMRDrxcPaRk","title":"weglot_replace_url","pathname":"/wordpress/helpers-functions-1/weglot_replace_url","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to modifiy the replaced url when it is translated.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"xgUHUa97BeWmzbLbUrZi","title":"weglot_replace_link","pathname":"/wordpress/helpers-functions-1/weglot_replace_link","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to modifiy the dom after the link has benne replaced.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"RoQnv3EZ4wzMG7IWtyT5","title":"weglot_ajax_replace_urls","pathname":"/wordpress/helpers-functions-1/weglot_ajax_replace_urls","siteSpaceId":"sitesp_ka3K8","description":"When Weglot translate json content, we don't translate all entry. With this filter you can modifiy the keys we translate for url.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"5ziA2dw0WAZJjegU1dJ0","title":"weglot_proxify_urls","pathname":"/wordpress/helpers-functions-1/weglot_proxify_urls","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to modify the list of url you want to proxify.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"5fcu86JedUPVsdzZPfp4","title":"weglot_add_json_keys","pathname":"/wordpress/helpers-functions-1/weglot_add_json_keys","siteSpaceId":"sitesp_ka3K8","description":"With this filter you can add keys Weglot msut translate into a json content.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"LMbyEit1CLgwyPlT30pt","title":"weglot_json_treat_page","pathname":"/wordpress/helpers-functions-1/weglot_json_treat_page","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to modifiy the translated content when this one is a json.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"FugqnVCSuZOGCOhqPf5K","title":"weglot_html_treat_page","pathname":"/wordpress/helpers-functions-1/weglot_html_treat_page","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to modifiy the translated content when this one is html.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"QI33MS2ErdLpoTcZhk7s","title":"Copy of weglot_xml_treat_page","pathname":"/wordpress/helpers-functions-1/copy-of-weglot_xml_treat_page","siteSpaceId":"sitesp_ka3K8","description":"This filter allow you to modifiy the translated content when this one is xml.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"rMKbsQwrz36Ynja87mM7","title":"weglot_render_dom","pathname":"/wordpress/helpers-functions-1/weglot_render_dom","siteSpaceId":"sitesp_ka3K8","description":"This filter allow to modify the translated content after putting meta and replace link.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"dEkm5jTbtsfUEqszky3e","title":"weglot_default_current_language_empty","pathname":"/wordpress/helpers-functions-1/weglot_default_current_language_empty","siteSpaceId":"sitesp_ka3K8","description":"When we not able to find the current language, we set it to the original language by default. This filter allow you to modifiy.","breadcrumbs":[{"label":"WordPress"},{"label":"Weglot filters"}]},{"id":"PcbHXuWMFLc3kARLc6hi","title":"Algolia integration","pathname":"/wordpress/algolia-integration","siteSpaceId":"sitesp_ka3K8","description":"Integration between Algolia and the Weglot WordPress plugin.","breadcrumbs":[{"label":"WordPress"}]},{"id":"JjLbOEcuU8ghNO82G3uh","title":"Autoswitch System: Server-Side and Client-Side implementation","pathname":"/wordpress/autoswitch-system-server-side-and-client-side-implementation","siteSpaceId":"sitesp_ka3K8","description":"Weglot uses an auto-switch mechanism to automatically redirect users to the correct language version of the site based on their browser settings .","breadcrumbs":[{"label":"WordPress"}]},{"id":"dI5UD0fq4fRlrnm31q0T","title":"Headers","pathname":"/proxy/headers","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"Proxy"}]},{"id":"-LBa7jyklZvrtlTiXckZ","title":"Getting Started","pathname":"/javascript/javascript","siteSpaceId":"sitesp_ka3K8","description":"Get Started with Weglot library","breadcrumbs":[{"label":"Javascript"}]},{"id":"-LqLCB87DiTUeLJVSBjo","title":"Options","pathname":"/javascript/options","siteSpaceId":"sitesp_ka3K8","description":"This page describes options available for the Javascript integration.","breadcrumbs":[{"label":"Javascript"}]},{"id":"-LqLD1WfjOXZSByr5WgL","title":"Javascript functions","pathname":"/javascript/javascript-functions","siteSpaceId":"sitesp_ka3K8","description":"All functions you can call in your Javascript code","breadcrumbs":[{"label":"Javascript"}]},{"id":"-LoyYT0aG2zA4kiSE-8u","title":"Language link Hooks","pathname":"/javascript/link-hooks","siteSpaceId":"sitesp_ka3K8","description":"Using Weglot links hooks to create your own language switcher","breadcrumbs":[{"label":"Javascript"}]},{"id":"-Lz1wsChwFkiMhfpXfrE","title":"Translate iframe","pathname":"/javascript/translate-iframe","siteSpaceId":"sitesp_ka3K8","description":"You have an iframe in your page and you need to translate it.","breadcrumbs":[{"label":"Javascript"}]},{"id":"-M-iWgCwY_4rroyvnpzt","title":"Advanced concepts","pathname":"/javascript/advanced-concepts","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"Javascript"}]},{"id":"-M-iVYvImSKDYGPib2ij","title":"Translation engines","pathname":"/javascript/advanced-concepts/translation-engines","siteSpaceId":"sitesp_ka3K8","description":"Advanced concepts","breadcrumbs":[{"label":"Javascript"},{"label":"Advanced concepts"}]},{"id":"-LEFQ1AsOyFrm54v7wLi","title":"Shopify","pathname":"/integrations/shopify","siteSpaceId":"sitesp_ka3K8","description":"Some code around Shopify","breadcrumbs":[{"label":"CMS Specific"}]},{"id":"-LEFG2lVWtzEgx8kpdOt","title":"Reference","pathname":"/api/reference","siteSpaceId":"sitesp_ka3K8","description":"","breadcrumbs":[{"label":"API"}]},{"id":"I77qOIUd1uMeiUmio0ge","title":"Cookies","pathname":"/cookies","siteSpaceId":"sitesp_ka3K8"}]}