wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



__ › WordPress Function

Depuis2.1.0
Dépréciéen/a
__ ( $text, $domain = 'default' )
Paramètres: (2)
  • (string) $text Text to translate.
    Requis: Oui
  • (string) $domain Optional. Text domain. Unique identifier for retrieving translated strings. Default 'default'.
    Requis: Non
    Défaut: 'default'
Retourne:
  • (string) Translated text.
Défini(e) dans:
Codex:

Retrieves the translation of $text.

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


Fonctions en relation: _, _c, _e, _n, _x

Source

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