Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
gettext

Description

Applied to the translated text by the translation() function (which is called by functions like the __() and _e() internationalization functions ). Filter function arguments: translated text, untranslated text and the text domain. Gets applied even if internationalization is not in effect or if the text domain has not been loaded.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for gettext

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
2.0.11 wp-includes/wp-l10n.php 31 View in context filter
2.0.11 wp-includes/wp-l10n.php 41 View in context filter
2.1 wp-includes/l10n.php 25 View in context filter
2.1 wp-includes/l10n.php 35 View in context filter
2.2 wp-includes/l10n.php 24 View in context filter
2.3 wp-includes/l10n.php 24 View in context filter
2.5 wp-includes/l10n.php 71 View in context filter
2.6 wp-includes/l10n.php 71 View in context filter
2.7 wp-includes/l10n.php 68 View in context filter
2.7 wp-includes/l10n.php 70 View in context filter
2.8 wp-includes/l10n.php 59 View in context filter
2.9 wp-includes/l10n.php 59 View in context filter
3.0 wp-includes/l10n.php 69 View in context filter
3.1 wp-includes/l10n.php 69 View in context filter
3.2 wp-includes/l10n.php 69 View in context filter
3.3 wp-includes/l10n.php 69 View in context filter
3.4 wp-includes/l10n.php 69 View in context filter
3.5 wp-includes/l10n.php 69 View in context filter
3.6 wp-includes/l10n.php 69 View in context filter
3.7 wp-includes/l10n.php 85 View in context filter
3.8 wp-includes/l10n.php 85 View in context filter
3.9 wp-includes/l10n.php 85 View in context filter
4.0 wp-includes/l10n.php 99 View in context filter
4.1 wp-includes/l10n.php 100 View in context filter
4.2 wp-includes/l10n.php 100 View in context filter
4.3 wp-includes/l10n.php 103 View in context filter
4.4 wp-includes/l10n.php 105 View in context filter
4.5 wp-includes/l10n.php 105 View in context filter
4.6 wp-includes/l10n.php 105 View in context filter
4.7 wp-includes/l10n.php 134 View in context filter
4.8 wp-includes/l10n.php 134 View in context filter
4.9 wp-includes/l10n.php 134 View in context filter
5.0 wp-includes/l10n.php 182 View in context filter
5.1 wp-includes/l10n.php 182 View in context filter

Related Hooks

We find related hooks using word stems. gettext has 1 significant word stem(s): gettext. Note that some of the hooks below may not appear in all versions of WP.