I'm using WordPress MultiLanguage Plugin and I want to know what is the language of a specific element, page or post.
I do have the
id but I want to obtain the language.
From The WPML website:
To get the language of a specific post or page, you can use
I have found this function via andreas.n on the WPML Forums.