Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

wp_kses_normalize_entities3( array $matches )

Callback for wp_kses_normalize_entities() for regular expression.

Description Description

This function helps wp_kses_normalize_entities() to only accept valid Unicode numeric entities in hex form.

Top ↑

Parameters Parameters


(array) (Required) preg_replace_callback() matches array

Top ↑

Return Return

(string) Correctly encoded entity

Top ↑

Source Source

File: wp-includes/kses.php

			if ( strlen( $value ) < $checkvalue ) {
				$ok = false;

		case 'maxval':

Top ↑

Changelog Changelog

Version Description
2.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.