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.
$tag_name
Sortie :
@param string $safe_text The text after it has been escaped. @param string $text The text prior to being escaped. @param string $tag_name @return string Sanitized tag name.
// Utilisation de la fonction tag_escape
$result = tag_escape($tag_name);
if ($result) {
// Votre logique ici
}
Chargement des actualités...