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



__ › WordPress Function

Da2.1.0
Deprecaton/a
__ ( $text, $domain = 'default' )
Parametri: (2)
  • (string) $text Text to translate.
    Richiesto:
  • (string) $domain Optional. Text domain. Unique identifier for retrieving translated strings. Default 'default'.
    Richiesto: No
    Default: 'default'
Ritorna:
  • (string) Translated text.
Definito a:
Codex:

Retrieves the translation of $text.

If there is no translation, or the text domain isn't loaded, the original text is returned.


Funzioni correlate: _, _c, _e, _n, _x

Sorgenti

function __( $text, $domain = 'default' ) {
	return translate( $text, $domain );
}