Un motore di ricerca WordPress per sviluppatori e autori di temi



is_textdomain_loaded ›

Da3.0.0
Deprecaton/a
is_textdomain_loaded ( $domain )
Parametri:
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
    Richiesto:
Ritorna:
  • (bool) Whether there are translations.
Definito a:
Codex:

Whether there are translations for the text domain.



Sorgenti

function is_textdomain_loaded( $domain ) {
	global $l10n;
	return isset( $l10n[ $domain ] );
}