WP_Locale::is_rtl(): bool

In this article

Checks if current locale is RTL.

Return

bool Whether locale is RTL.

Source

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

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

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