Core Function
View Source on Trac ↗ format_to_post()
format_to_post( mixed $content ) Formerly used to escape strings before inserting into the DB.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $content string | The text to format. Required |
Return Value
(string)
The very same text.
Function Information
Since Version
0.71
Source File
wp-includes/deprecated.php
Advertisement