[Resolved] get_current_lang() not working properly
I’m using this to get the current language:
but it always returns the same! I have two languages, “en” (english) and “es” (spanish), and this function is always returning “es”. I can change the language of the page, choosing it in the languages menu, or changing the url parameters (&lang=en), and the menu changes, and everything changes, but the function I am calling from a plugin php is always returning “es”, never “en”.
Do you know why is this happening, and how could I solve it?
- The topic ‘[Resolved] get_current_lang() not working properly’ is closed to new replies.