WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wp kses normalize entities

Contents

Description

Converts and fixes HTML entities.

This function normalizes HTML entities. It will convert 'AT&T' to the correct 'AT&T', ':' to ':', '&#XYZZY;' to '&#XYZZY;' and so on.

Usage

<?php wp_kses_normalize_entities$string ?>

Parameters

$string
(string) (required) Content to normalize entities
Default: None

Return Values

(string) 
Content with normalized entities

Examples

Notes

Change Log

Since: 1.0.0

Source File

wp_kses_normalize_entities() is located in wp-includes/kses.php.

Related

See also index of Function Reference and index of Template Tags.