classes/PodsI18n.php
public function get_current_language( $args = array() ) {

		$args = wp_parse_args(
			$args, array(
				'refresh' => false,
			)
		);

		if ( ! $args['refresh'] && ! empty( self::$current_language ) ) {
			return self::$current_language;
		}

		$this->get_current_language_data( $args );

		return self::$current_language;
	}
public function get_current_language( $args = array() ) {

		$args = wp_parse_args(
			$args, array(
				'refresh' => false,
			)
		);

		if ( ! $args['refresh'] && ! empty( self::$current_language ) ) {
			return self::$current_language;
		}

		$this->get_current_language_data( $args );

		return self::$current_language;
	}
public function get_current_language ( $ args = array ( ) ) { $ args = wp_parse_args ( $ args , array ( 'refresh' => false , ) ) ; if ( ! $ args [ 'refresh' ] && ! empty ( self :: $ current_language ) ) { return self :: $ current_language ; } $ this -> get_current_language_data ( $ args ) ; return self :: $ current_language ; }
Get current locale information from Multilingual plugins

@since 2.7.0

@param array $args    (optional) {

@type bool   $refresh Rerun get_current_language() logic?
}

@return string
Get current locale information from Multilingual plugins