For the complete documentation index, see llms.txt. This page is also available as Markdown.

weglot_remove_google_translate

By default, Weglot prevent google translating page but with this flter you can enable this google feature

On translated pages, Weglot tells Google not to translate the page again (a <meta name="google" content="notranslate"/> tag and a translate="no" attribute on <html>). The filter defaults to true; return false to let Google offer its own translation.

add_filter( 'weglot_remove_google_translate', '__return_false' );

Last updated