wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



esc_xml › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
› apply_filters( 'esc_xml', $safe_text, $text )
Parametry: (2)
  • () safe_text The text after it has been escaped.
    Wymagane: Tak
  • () text The text prior to being escaped.
    Wymagane: Tak
Zdefiniowane na:
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.




Powiązane Hooks: esc_html, esc_textarea, is_email, rest_url

Źródło

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