{"id":3552,"date":"2014-04-25T06:05:11","date_gmt":"2014-04-25T06:05:11","guid":{"rendered":"http:\/\/developer.wordpress.org\/reference\/functions\/esc_attr_x\/"},"modified":"2026-02-24T05:36:45","modified_gmt":"2026-02-24T05:36:45","slug":"esc_attr_x","status":"publish","type":"wp-parser-function","link":"https:\/\/developer.wordpress.org\/reference\/functions\/esc_attr_x\/","title":{"rendered":"esc_attr_x()"},"excerpt":{"rendered":"<p>Translates string with gettext context, and escapes it for safe use in an attribute.<\/p>\n","protected":false},"comment_status":"open","ping_status":"open","template":"","meta":{"_crdt_document":"","footnotes":""},"wp-parser-source-file":[207],"wp-parser-package":[167,3],"wp-parser-since":[29],"class_list":["post-3552","wp-parser-function","type-wp-parser-function","status-publish","hentry","wp-parser-source-file-wp-includes_l10n-php","wp-parser-package-i18n","wp-parser-package-wordpress","wp-parser-since-2-8-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/3552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function"}],"about":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/types\/wp-parser-function"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/comments?post=3552"}],"version-history":[{"count":3,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/3552\/revisions"}],"predecessor-version":[{"id":146995,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/3552\/revisions\/146995"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=3552"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=3552"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=3552"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=3552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}