__ (double underscore)
— Translate a string.
Summary
- __($msgid)
Translate a string.
- Parameters:
$msgid (
string|array
) – The string to be translated, or Array for plural translations.
- Returns:
string The translated string.
Usage
Examples
echo __("String to translate");