string $translation, string $text, string $domain )
Filters text with its translation.
Text to translate.
Text domain. Unique identifier for retrieving translated strings.
IMPORTANT: This filter is always applied even if internationalization is not in effect, and if the text domain has not been loaded. If there are functions hooked to this filter, they will always run. This could lead to a performance problem.
View all references
$translation = apply_filters( 'gettext', $translation, $text, $domain );