WordPress at a glance
function is not described

esc_attr_x() WP 2.8.0

Translate string with gettext context, and escapes it for safe use in an attribute.

No Hooks.

Return

String. Translated text

Usage

esc_attr_x( $text, $context, $domain );
$text(string) (required)
Text to translate.
$context(string) (required)
Context information for the translators.
$domain(string)
Text domain. Unique identifier for retrieving translated strings.
Default: 'default'

Code of esc attr x: wp-includes/l10n.php VER 5.1.1

<?php
function esc_attr_x( $text, $context, $domain = 'default' ) {
	return esc_attr( translate_with_gettext_context( $text, $context, $domain ) );
}