WP_Locale::is_rtl

Advertisement

Summery Summery

Checks if current locale is RTL.

Syntax Syntax

WP_Locale::is_rtl()

Return Return

(bool) Whether locale is RTL.

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Advertisement

Leave a Reply