WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/wp kses decode entities

Contents

Description

Convert all entities to their character counterparts.

This function decodes numeric HTML entities (like A and A). It doesn't do anything with other entities like ä, but we don't need them in the URL protocol whitelisting system anyway.

Usage

<?php wp_kses_decode_entities$string ?>

Parameters

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

Return Values

(string) 
Content after decoded entities

Examples

Notes

Change Log

Since: 1.0.0

Source File

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

Related

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