Core Function
View Source on Trac ↗ __()
__( mixed $text, mixed $domain = 'default' ) Retrieves the translation of $text.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $text string | Text to translate. Required |
| string | $domain Optional. Text domain. Unique identifier for retrieving translated strings. Default 'default'. Required |
Return Value
(string)
Translated text.
Function Information
Since Version
2.1.0
Source File
wp-includes/l10n.php
Advertisement