2020-05-01 / 2736阅 / 悠然
Display 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__().
(string)
(Required)
Text to translate.
(string)
(Optional)
Text domain. Unique identifier for retrieving translated strings.
Default value: 'default'