Display translated text that has been escaped for safe use in an attribute.

Signature

esc_attr_e( $text, $domain = 'default' )
text
 (string) Text to translate.
domain
 (string) Optional. Text domain. Unique identifier for retrieving translated strings.
Default: 'default'

Return

(void)

Source

function esc_attr_e( $text, $domain = 'default' ) {
	echo esc_attr( translate( $text, $domain ) );
}
WP Trac GitHub

Link here