wp_kses_xml_named_entities ( $matches )
- (array) matches preg_replace_callback() matches array.
- (string) Correctly encoded entity.
- Introduced in WordPress: 5.5.0
- Deprecated in WordPress: —
Callback for `wp_kses_normalize_entities()` regular expression.This function only accepts valid named entity references, which are finite,
case-sensitive, and highly scrutinized by XML validators. HTML named entity
references are converted to their code points.