WPDev.one

esc_xml()

esc_xml( mixed $text )

Escaping for XML blocks.

Parameters 1 required

Name / Type Description
$text
string

Text to escape.

Required

Return Value

(string)
Escaped text.

Function Information

Since Version
5.5.0
Source File
wp-includes/formatting.php
Advertisement