wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



is_rtl › WordPress Function

Da3.0.0
Deprecaton/a
is_rtl ( Nessun parametro )
Ritorna:
  • (bool) Whether locale is RTL.
Definito a:
Codex:

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

For more information on this and similar theme functions, check out the {@link Conditional Tags} article in the Theme Developer Handbook.


Funzioni correlate: is_tag, is_tax, is_ssl, is_robots, is_date

Sorgenti

function is_rtl() {
	global $wp_locale;
	if ( ! ( $wp_locale instanceof WP_Locale ) ) {
		return false;
	}
	return $wp_locale->is_rtl();
}