wp_kses_decode_entities

SummerySummery

Converts all numeric HTML entities to their named counterparts.

Syntax

wp_kses_decode_entities( string $string )

DescriptionDescription

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

ParametersParameters

$string

(string) (Required) Content to change entities.

ReturnReturn

(string) Content after decoded entities.

SourceSource

File: wp-includes/kses.php


			

ChangelogChangelog

Changelog
Version Description
1.0.0 Introduced.
Scroll to Top