is_rtl()
最后更新于:2021-11-27 10:48:34
is_rtl()Determines whether the current locale is right-to-left (RTL).
响应
(bool) Whether locale is RTL.
源文件
文件: gc-includes/l10n.php
function is_rtl() {
global $gc_locale;
if ( ! ( $gc_locale instanceof GC_Locale ) ) {
return false;
}
return $gc_locale->is_rtl();
}