This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ku-www/wp-includes/locale.php
T
2017-04-26 22:03:15 +02:00

26 lines
381 B
PHP

<?php
/**
* Locale API
*
* @package WordPress
* @subpackage i18n
* @since 1.2.0
*/
/** WP_Locale class */
require_once ABSPATH . WPINC . '/class-wp-locale.php';
/**
* Checks if current locale is RTL.
*
* @since 3.0.0
*
* @global WP_Locale $wp_locale
*
* @return bool Whether locale is RTL.
*/
function is_rtl() {
global $wp_locale;
return $wp_locale->is_rtl();
}