wp_kses_xml_named_entities
wp_kses_xml_named_entities ( $matches )
Parameters:- (array) matches preg_replace_callback() matches array.
Returns:- (string) Correctly encoded entity.
Defined at: - Introduced in WordPress: 5.5.0
- Deprecated in WordPress: —
Description
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.