Used By
| Used By | Description |
|---|---|
| wp-includes/script-loader.php: wp_localize_jquery_ui_datepicker() | Localizes the jQuery UI datepicker. |
| wp-includes/l10n.php: is_rtl() | Determines whether the current locale is right-to-left (RTL). |
Checks if current locale is RTL.
(bool) Whether locale is RTL.
File: wp-includes/class-wp-locale.php
public function is_rtl() {
return 'rtl' === $this->text_direction;
} | Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_locale/is_rtl