Modify the Redirect URL

You can also modify the URL used to reload the page (after selecting a locale from the menu) by hooking the ‘wpsso_user_locale_redirect_url’ filter.

add_filter( 'wpsso_user_locale_redirect_url',
        'customize_user_locale_redirect_url', 10, 2 );

function customize_user_locale_redirect_url( $url, $user_locale ) {

        /**
         * Modify the redirect url here.
         */

        return $url;
}