wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



esc_xml › WordPress Filter Hooks

Seit5.5.0
Veraltetn/v
apply_filters( 'esc_xml', $safe_text, $text )
Parameter: (2)
  • () safe_text The text after it has been escaped.
    Erforderlich: Ja
  • () text The text prior to being escaped.
    Erforderlich: Ja
Definiert in:
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.




Quellcode

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