WP_Locale::is_rtl()

Checks if current locale is RTL.


Return

(bool) Whether locale is RTL.


Source

File: wp-includes/class-wp-locale.php

	public function is_rtl() {
		return 'rtl' == $this->text_direction;
	}


Changelog

Changelog
Version Description
WP-3.0.0 Introduced.