wp_kses_normalize_entities2


wp_kses_normalize_entities2 ( $matches )

Access:
  • private
Parameters:
  • (array) $matches `preg_replace_callback()` matches array.
Returns:
  • (string) Correctly encoded entity.
Defined at:

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.

Related Functions

wp_kses_normalize_entities, wp_kses_normalize_entities3, wp_kses_named_entities, wp_kses_decode_entities, wp_kses_js_entities

Top Google Results

User discussions

wpseek mobile