This page redirects to an external site: https://developer.wordpress.org/reference/functions/htmlentities2/
Convert entities, while preserving already-encoded entities.
<code style="color: #000000"><span style="color: #0000BB"><?php htmlentities2</span><span style="color: #007700">( </span><span style="color: #0000BB">$myHTML </span><span style="color: #007700">) </span><span style="color: #0000BB">?></span></code>
Since: 1.2.2
htmlentities2() is located in wp-includes/formatting.php.