Un motore di ricerca WordPress per sviluppatori e autori di temi



is_rtl ›

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 https://developer.wordpress.org/themes/basics/conditional-tags/ Conditional Tags} article in the Theme Developer Handbook.



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

Sorgenti

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