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 on Trac

Changelog

Version Description
2.0.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/prepend_attachment