Languages: English • 日本語 (Add your language)
Displays translated text that has been escaped for safe use in an attribute. Encodes < > & " ' (less than, greater than, ampersand, double quote, single quote). Will never double encode entities.
If you need the value for use in PHP, use esc_attr__().
<?php esc_attr_e( $text, $domain ) ?>
esc_attr_e() is located in wp-includes/l10n.php
.
See: Data Validation article for an in-depth discussion of input and output sanitization.
L10n: translate(), __(), _e(), _n(), _x(), _ex(), _nx(), esc_attr__(), esc_attr_e(), esc_attr_x(), esc_html__(), esc_html_e(), esc_html_x(), _n_noop(), _nx_noop(), translate_nooped_plural()