You should use esc_html_e()
instead of esc_attr_e()
if you intend to escape your translation.
What is proper depends on your intend
Escaping attributes are well, for escaping attributes inside html tags like inline styles, datas, etc.
You should use esc_html_e()
instead of esc_attr_e()
if you intend to escape your translation.
What is proper depends on your intend
Escaping attributes are well, for escaping attributes inside html tags like inline styles, datas, etc.