wpml filter get current language filter code example
Example: wpml get current language filter
$my_current_lang = apply_filters( 'wpml_current_language', NULL );
$my_current_lang = apply_filters( 'wpml_current_language', NULL );