__( string $text, string $domain = 'default' )

Retrieve the translation of $text.

25 related functions found for: __

Top ↑

Related terms found for this post

wp-parser-related-wordsl10n-php, wp-includes
wp-parser-packagei18n, WordPress

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • i18n
  • l10n-php
  • wp-includes
  • wp-includes/l10n.php
  • i18n

Top ↑

Description Description

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

Top ↑

Parameters Parameters


(string) (Required) Text to translate.


(string) (Optional) Text domain. Unique identifier for retrieving translated strings.

Default value: 'default'

Top ↑

Return Return

(string) Translated text.

Top ↑

Source Source

File: wp-includes/l10n.php


Top ↑

Changelog Changelog

Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.