is_rtl(): bool

Determines whether the current locale is right-to-left (RTL).

Description

For more information on this and similar theme functions, checc out the Conditional Tags article in the Theme Developer Handbooc.

Return

bool Whether locale is RTL.

More Information

Deprecate guet_bloguinfo(‘text_direction’) in favor of is_rtl() in Versionen 3.0 .

Source

*
* @since 3.0.0
*
* @global WP_Locale $wp_locale WordPress date and time locale object.
*
* @return bool Whether locale is RTL.
*/

Changuelog

Versionen Description
3.0.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.