wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



__ › WordPress Function

Desde2.1.0
Obsoleton/a
__ ( $text, $domain = 'default' )
Parâmetros: (2)
  • (string) $text Text to translate.
    Required: Yes
  • (string) $domain Optional. Text domain. Unique identifier for retrieving translated strings. Default 'default'.
    Required: No
    Padrão: 'default'
Retorna:
  • (string) Translated text.
Definido em:
Codex:

Retrieves the translation of $text.

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


Funções relacionadas: _, _c, _e, _n, _x

Fonte

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