Displays translated text that has been escaped for safe use in HTML output.
Description
If there is no translation, or the text domain isn't loaded, the original text is escaped and displayed. If you need the value for use in PHP, use esc_html__().
Parameters
$textstring
Text to translate.
$domainstringoptional
Text domain. Unique identifier for retrieving translated strings. Default 'default'.Default: 'default'
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 6.8.8 tag, from src/wp-includes/l10n.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.