Core Function
View Source on Trac ↗ prepend_attachment()
prepend_attachment( mixed $content ) Wraps attachment in paragraph tag before content.
Parameters 1 required
| Name / Type | Description |
|---|---|
| string | $content Required |
Return Value
(string)
string
Function Information
Since Version
2.0.0
Source File
wp-includes/post-template.php
Advertisement