weglot_default_current_language_empty

When we not able to find the current language, we set it to the original language by default. This filter allow you to modifiy.

add_filter( 'weglot_default_current_language_empty', '__return_true' );

Last updated