wordpress / latest / hooks / prepend_attachment.html

apply_filters( 'prepend_attachment', string $p )

Filters the attachment markup to be prepended to the post content.

Description

See also

Parameters

$p string
The attachment HTML output.

Source

File: wp-includes/post-template.php. View all references

$p = apply_filters( 'prepend_attachment', $p );

Used By

Used By Description

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