wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



esc_xml › Hooks de Filtros WordPress

Desde5.5.0
Obsoleton/a
› apply_filters( 'esc_xml', $safe_text, $text )
Parâmetros: (2)
  • () safe_text The text after it has been escaped.
    Required: Yes
  • () text The text prior to being escaped.
    Required: Yes
Definido em:
Codex:

Filters a string cleaned and escaped for output in XML.

Text passed to esc_xml() is stripped of invalid or special characters before output. HTML named character references are converted to their equivalent code points.




Hooks relacionados: esc_html, esc_textarea, is_email, rest_url

Fonte

return apply_filters( 'esc_xml', $safe_text, $text );