weglot_url_auto_redirect

This filter can be use to modify the url where use will be redirect if the autoswitch option is activate.

add_filter( 'weglot_url_auto_redirect', $url_auto_redirect );

Last updated