On this page
apply_filters( 'prepend_attachment', string $p )
Filters the attachment markup to be prepended to the post content.
Description
See also
Parameters
$pstring-
The attachment HTML output.
Source
File: wp-includes/post-template.php. View all references
$p = apply_filters( 'prepend_attachment', $p );
Related
Used By
| Used By | Description |
|---|---|
| prepend_attachment() wp-includes/post-template.php | Wraps attachment in paragraph tag before content. |
Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/prepend_attachment