This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( ! function_exists( 'wpml_get_current_language_name' ) ) : | |
/** | |
* Returns current active site language array. | |
* If the optional $arg is set, only the corresponding value is returned. | |
* | |
* $arg can be one of: | |
* code, id, native_name, major, active, default_locale, | |
* encode_url, tag, translated_name, url, country_flag_url, language_code | |
*/ |