weglot_replace_div_id

This filter allow you to get the translated content after we have replace the <div id="weglot_here"></div> with the switcher

add_filter( 'weglot_autoredirect_only_home', '__return_true' );

Last updated