Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/l10n.php | apply_filters | 212 | /** * Filters text with its translation for a domain. * * The dynamic portion of the hook name, `$domain`, refers to the text domain. * * @since 5.5.0 * * @param string $translation Translated text. * @param string $text Text to translate. * @param string $domain Text domain. Unique identifier for retrieving translated strings. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $translation | Translated text. |
string | $text | Text to translate. |
string | $domain | Text domain. Unique identifier for retrieving translated strings. |