title: Get language code of WPML
body: <p>I'm trying to get the language code of the WPLM wordpress plugin. This is how I'm doing it without luck:</p>
  
  <pre><code>&lt;?php if (ICL_LANGUAGE_CODE == 'es_En') { ?&gt;
      &lt;p&gt;Spanish text&lt;/p&gt;
  &lt;?php&gt; ?&gt;
  </code></pre>
  
  <p>Any idea where is the problem? I have check some tutorials and they do this way.</p>