wpseek.com
WordPress开发者和主题制作者的搜索引擎
esc_attr__ › WordPress Function
Since2.8.0
已弃用n/a
› esc_attr__ ( $text, $domain = 'default' )
| 参数: (2) |
|
| 返回: |
|
| 定义在: |
|
| 文档: |
Retrieves the translation of $text and escapes it for safe use in an attribute.
If there is no translation, or the text domain isn't loaded, the original text is returned.