WP_Locale::is_rtl()
Checks if current locale is RTL.
Description Description
Return Return
(bool) Whether locale is RTL.
Source Source
File: wp-includes/class-wp-locale.php
public function is_rtl() { return 'rtl' == $this->text_direction; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |