Summery Summery
Whether switch_to_locale() is in effect.
Syntax Syntax
Return Return
(bool) True if the locale has been switched, false otherwise.
Source Source
File: wp-includes/l10n.php
*
* @return bool Whether locale is RTL.
*/
function is_rtl() {
global $wp_locale;
if ( ! ( $wp_locale instanceof WP_Locale ) ) {
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 4.7.0 | Introduced. |