Core Function
View Source on Trac ↗ htmlentities2()
htmlentities2( mixed $text ) Converts entities, while preserving already-encoded entities.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $text string | The text to be converted. Required |
Return Value
(string)
Converted text.
Function Information
Since Version
1.2.2
Source File
wp-includes/formatting.php
Advertisement