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 entities2

Description

Callback for wp_kses_normalize_entities() regular expression.

This function helps wp_kses_normalize_entities() to only accept 16 bit values and nothing more for &#number; entities.

Usage

<?php wp_kses_normalize_entities2$matches ?>

Parameters

$matches
(array) (required) preg_replace_callback() matches array
Default: None

Return Values

(string) 
Correctly encoded entity

Examples

Notes

  • This is a private function. It should not be called directly. It is listed in the Codex for completeness.

Change Log

Since: 1.0.0

Source File

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

Related

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