WP_Locale::is_rtl(): bool

Checks if current locale is RTL.


Return

bool Whether locale is RTL.


Top ↑

Source

File: wp-includes/class-wp-locale.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes

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