Use for: <ul> <li>Attribute values.</li> <li>Text in ordinary (data-state) elements and in the RCDATA elements (TITLE and TEXTAREA).</li> <li>Text in foreign content (elements not in the HTML namespace).</li> </ul> Do not use for text in the RAWTEXT elements (STYLE, XMP, IFRAME, NOEMBED, NOFRAMES), HTML SCRIPT elements, or PLAINTEXT elements, whose contents serialize without escaping.
Signature, return type and hooks compared across 1 parsed release.
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/html-api/class-wp-html-processor.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.