2023-01-16 UTC
# dronerdud I used wp_login before, to redirect people based upon their user status.. worked just fine (on another site). This time the objective is to change the (WPML) site language based on their profile, I don't why that couldn't work. In any case, gonna try your function first, looks promising!