|wp-includes/l10n.php: translate()|| |
Retrieve the translation of $text.
Filters text with its translation.
(string) Translated text.
(string) Text to translate.
(string) Text domain. Unique identifier for retrieving translated strings.
This filter hook is applied to the translated text by the internationalization functions (
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.
For singular/plural aware translation functions such as
For context-specific translation functions such as
_x(), see filter hook
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.