Determines whether the current locale is right-to-left (RTL).
Description
For more information on this and similar theme functions, check out the Conditional Tags article in the Theme Developer Handbook.
Source
*
* @since 3.0.0
*
* @global WP_Locale $wp_locale WordPress date and time locale object.
*
* @return bool Whether locale is RTL.
*/
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
Basic Example